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
02-03-2023 11:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2023 06:50 AM
Hello Khusboo Kabra,
I have also tried the sys_id and it doesn't work. See the pic below. IF condition still evaluates to false. Is there an alternate way to accomplish this functionality? Should I use a different variable type in my catalog item?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2023 11:03 AM
Hello @Nasir Hussain1 ,
Is ur issue resolved?
Variable type should be same in both places from where u fetch data(field of that table) and data type of catalog item variable.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2023 01:16 PM
Maybe you are running into the Chrome bug where it inserts non-printable (byte order mark) characters into fields? Fixed in Tokyo patch 2 - PRB1606387?