Condition in flow design

2022_ServiceNow
Tera Expert

Hi All,

 

I have a requirement in ServiceNow flow design.

There's a field in the catalog form. Single line text. 

In the flow design I have to check the condition whether that particular variable has a budget greater than or equal to 50k. Based on that condition it should trigger a approval action.

I tried using flow variable but unable to find the logic. 

Can anybody please help me in achieving this?

 

Thanks in advance

@Ankur Bawiskar @Manmohan K 

1 ACCEPTED SOLUTION

@2022_ServiceNow 

then use a flow variable and store the integer value of that string as integer

then use the IF action to compare that flow variable against 50

Flow variables 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

Manmohan K
Tera Sage

Hi @2022_ServiceNow 

 

Can you share your flow images. that would help debug

@Manmohan K Thank you for the response

 

if condition:

2022_ServiceNow_2-1686911709248.png

then:

2022_ServiceNow_3-1686911744813.png

if:

2022_ServiceNow_1-1686911687174.png

 

Manmohan K
Tera Sage

@2022_ServiceNow 

 

you should change the variable that store budget to integer type and then put a check in if condition 

@Manmohan K 

I tried making the variable field as integer. But user should be able to mention whether it's in INR or USD or other currency. So, removed the validation.

Can you please check my previous reply?