Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Advance compare condition - compare number with a list of numbers

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2023

Hi, community,

Do you know how to use this, adding a set (list of values)?

The idea is to get the day number and check if the number belongs to a list

 

Examples:

  • day number = 45
  • List =  1, 10, 20, 40, 50, 60
  • Result = FALSE

 

  • day number = 50
  • List =  1, 10, 20, 40, 50, 60
  • Result = TRUE

 

The final objective is to build a set of bank holidays and check if is a normal business day or not.

 

ScreenHunter 1738.png

 

1 answer

1 accepted

0 votes
Answer accepted
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 11, 2023

Found the solution.

See bellow:

 

ScreenHunter 1744 (01).png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events