How to configure an if condition for 'is greater than'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 05:34 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 it.
The type of variable is 'single line text' with regex to only allow whole numbers.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 06:37 AM
Hi Albert
better to create a custom action and pass your variable/field as an input for an action . In the action you can return true or false based on your condition and you can use that respective created action in IF condition
Create inputs and outputs for the action and use the Run the script for your action
if (parseInt(inputs.chkValue) > 50000.00) { outputs.validation = true; // do something } else { // do something }
let me know if you need any additional queries or additional issues related to this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 11:41 AM
Hi @alberttagle , You can use flow variable to change the type and map with value
Attaching the screenshot for your reference
let me know if you need any additional queries or additional issues related to this issue.
Hit the like if my approach helps you, thanks