Looking for a way to perform Bitwise OR operation between n number.

Hi there,

 We  have a requirement where we need to generate masked value, based on the selected checkbox,

For generating masked value, we will be required to perform bitwise or operation between the selected value of the checkbox.

let us say we have 4 checkbox 

SUNDAY = 0 

 Monday = 1

Tuesday = 2

Thursday =3

 now based on the user selection we need to perform the bitwise or operation  between the selected value i.e

masked value  |=  (0,1,3)

is there any way to perform the bitwise or operation in Appian..?

 

Thanks in advance.

  Discussion posts and replies are publicly visible