- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 12:48 PM
I'm trying to get my subflow to trigger an If Statement, but only if a change is made within the catalog SCTASK. Is this possible?
If "No" is selected, the flow should go to task 6 only then close RITM, but if "Yes" is selected, the flow should go to task 6 then task 7 before closing the RITM.
The subflow context shows that the Flow Logic "Evaluated - False" even though the condition (Is not Empty) was met, but it "Evaluated - True" when the condition (Is Empty) was not met.
The condition is reading as empty even though information is filled out in the SCTASK, so does the If Statement in a subflow only work on fields filled out on the initial form? I need the condition to trigger from the SCTASK
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 03:21 PM
I figured it out, needed to use "get catalog variables" in the subflow, I had it before but somehow it got deleted. Thank you for your help, Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 12:20 AM
Why not add a flow variable for the orignal cost and a variable for the cost after evaluation and do your 'if' logic based on variable a != variable b and an else if not (or the other way around, whatever works best for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 08:17 AM
Thank you for the suggestion! I tried that, but the problem is that the condition always runs true, because it shows them both as empty:
Maybe I am missing something when it comes to pulling the Input data from the SCTASK to the Subflow? The data is just empty no matter what they conditions are.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 01:06 AM
Log the inputs. Because your result is nothing = nothing and that shouldn't be the case. If the variable is filled, you should be having the input, or you are setting the input wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 12:55 PM
The variable is not filled on the initial submission:
I'm trying to get the input from the SCTASK, not the front-end user form
Essentially: IF someone on the backend selects "No" on the 5th SCTASK field for "cost_difference" THEN the flow has 1 task left, but if "Yes" is selected then the flow has two steps left.
Maybe there is a way to connect the SCTASK input to the subflow that I am missing, could you help me with that?