- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 05:55 AM
Hi,
I need help figuring out how to go about writing the condition: if 'value' is greater than 50000?
The dropdown options doesn't seem to have 'is greater than'.
The type of variable is 'single line text' with regex to only allow whole numbers.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 06:19 AM
Hi you can create a "flow variable" of the type integer from 3 dots on the top right and assign the value of single line text. Once you have dot walked the variable value in the flow variable you can use the "fx" option which appears on hover over dot-walked value to convert string to number like the image below.
Once done then you can compare the flow variable for the check if greater than 50000
Mark as helpful if this solves your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 06:00 AM
Hi @alberttagle ,
You can create a custom action with script step and evaluate the condition in the script.
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Mayur Shardul
ServiceNow Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 06:19 AM
Hi you can create a "flow variable" of the type integer from 3 dots on the top right and assign the value of single line text. Once you have dot walked the variable value in the flow variable you can use the "fx" option which appears on hover over dot-walked value to convert string to number like the image below.
Once done then you can compare the flow variable for the check if greater than 50000
Mark as helpful if this solves your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 07:01 AM
Thank you so much! this worked like a charm. 🙂