- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 11:19 AM
Hello,
I am attempting to build a flow that branches based on a variable value. This yes/no variable is set to none as a default value as the variable is unknown at the beginning of the flow.
In step 9, the person working the ticket needs to pick yes or no on a yes/no variable. If No, then branch on step 10 should execute, if Yes, then branch on step 15 should execute. No matter which option is chose the branch on step 10 executes every time. The only way I've gotten this to work properly is if I set the variable during the ticket creation. Any thoughts on how to make this work the way I want it to?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 11:04 AM
It seems like I have resolved this myself. I added another get catalog variables action between steps 9 & 10. Populated my If condition with the variable from the new action and the flow now works as intended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 11:37 AM
Hi Michael,
You can add Wait for Condition step between 9 and 10 as follows:
Questions > Yes/No Variable Name = Yes OR =No
The flow waits until the Yes/No variable is set to either Yes or No > then it goes to next triggering conditions of IF and ELSE steps
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 12:35 PM - edited 10-17-2024 12:35 PM
I gave that a shot and it still just ignores my If conditions and executes the If branch anyways.
The If condition to execute that branch is for the Variable to be set to No, when I set the variable to Yes the branch executes anyways instead of going to Else branch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 12:36 PM
I believe I set this up as you described:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 11:04 AM
It seems like I have resolved this myself. I added another get catalog variables action between steps 9 & 10. Populated my If condition with the variable from the new action and the flow now works as intended.