Can you use the greater than condition for flow designer catalog variables?

Kevin S1
Kilo Contributor

Hello,

I'm working on a subflow in the Flow Designer and ran into an issue when using a catalog variable as the data pill.

I used the "Get Catalog Variables" action to get the string value of a catalog variable in a previous step.

My question is can we check if the catalog variable(string field) is greater than a hardcoded number and then control our if logic that way? (check screenshot)

find_real_file.png

Currently, all I see is "is, is not, contains, and does not contain"

I don't see a script option for the "condition part" either.

Am I missing something? 

 

 

1 ACCEPTED SOLUTION

surajp
Mega Guru

Hi Kevin,

 

You can create a custom action with script step and evaluate the condition in the script.

 

Regards,

Suraj

View solution in original post

5 REPLIES 5

MrMuhammad
Giga Sage

Hi Kevin,

You can leverage inline script to achieve this. 

Regards,

Muhammad

Regards,
Muhammad

Hi Muhammad,

 

I like the idea but I do not see an inline script button"f(x)" for an in if statement or flow logic choice? is there something I need to do to have it show? I do see it on all the actions 

surajp
Mega Guru

Hi Kevin,

 

You can create a custom action with script step and evaluate the condition in the script.

 

Regards,

Suraj

Kevin S1
Kilo Contributor

that what I ended up doing!