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

@2022_ServiceNow 

 

Then you can add approval action and set it as shown in below image

set the user or group by data pill picker if you stored it in a variable or field of RITM

ManmohanK_0-1686912687086.png

 

@Manmohan K 

I have added approval for both If condition 'true' and 'false'.

Still not working.

Ankur Bawiskar
Tera Patron
Tera Patron

@2022_ServiceNow 

you can't have variable of type integer. you need to use single line text only

your condition looks good.

Is it not working fine?

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

@Ankur Bawiskar 

Yes, it is currently single line text.

No, it is not working fine.

@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