Using catalog reference variable in the IF condition of the flow designer

Nasir Hussain1
Tera Contributor

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

 

NasirHussain1_0-1675464399782.png

 

 

Runtime values:  Yellow highlighted text shows it is a match, but it is still evaluated as false.

 

NasirHussain1_1-1675464399699.png

 

 

Any help will be much appreciated.

 

 

5 REPLIES 5

Nasir Hussain1
Tera Contributor

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.