cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Checking for the presence of an array

dcornwell
Deputy Chef III
Deputy Chef III

Hi Folks,


So to check for the presence of an array (i.e. that there is at least 1 item in the array), as far as I'm aware you need to do a formula to check the length of it. i.e.


array.length (<-formula)

greater than (<-condition)

0 (<-value)


Doing just an 'is present' condition doesn't work. Is there something else simple like this that I'm missing?


(and Hi - first post on the Community!)


Regards, David.


6 REPLIES 6

rob-lucian
Deputy Chef I
Deputy Chef I

No problem! I'm not sure if you've seen this, but there is a section that sort of showcases the .present? formula in an array format

rob-lucian
Deputy Chef I
Deputy Chef I

https://docs.workato.com/formulas/array-list-formulas.html#present forgot the link