Using catalog reference variable in the IF condition of the flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2023 02:57 PM
Hello folks,
I have a situation where the reference variable (TEAM) in my catalog item is not evaluating true in my flow designer and falls into the else loop rather than the if loop. Team variable references sys_user_group table in the ServiceNow.
Below are the screenshots from the Flow designer and Execution details. I can't figure out why this condition is evaluated as False every time. I selected 'Enterprise Applications' as my value in the catalog item form.
Flow designer If Condition:
variable name ->Team->Name is Enterprise Applications
Runtime values: Yellow highlighted text shows it is a match, but it is still evaluated as false.
Any help will be much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 11:51 AM
Thank you guys for your replies.
The problem has been resolved. Actually, I haven't done anything special. I removed my data pill, re-added it, click Done and then Save the workflow.
When I moved my code into my test environment, I recreated the flow (manually done) it worked fine. No issues. It is a mystery I am not sure what could have solved it. We are still on San Diego Patch 9.