Flow Designer comparison not working

Kamva
Giga Guru

Hi Expects,

I have an issue with the comparison function, the variable comes up empty for some reason. I have ran out of tricks, please look at the attached Image of the RITM, flow execution and the flow configurations (all with the variable) in question.

RITM (Take a note of Parent RITM)
Screenshot 2025-06-11 at 14.22.00.png 
Execution Flow (take a note of step 5):
Screenshot 2025-06-11 at 14.23.46.png

Flow (take note of step 5):

Screenshot 2025-06-11 at 14.24.51.png

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Kamva 

did you check by adding log to see what came in that output for Get Catalog Variables->parent_ritm?

Also try to set that variable value in flow variable and then try to compare

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Kamva 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

GlideFather
Tera Patron

Hi @Kamva,

It seems ok to me. However I got some ideas...

Debugging tip 1: try to verify the value by adjusting the condition in the Step 5 to be "is not No" or another value than the Yes.
Instead of [RITM_parent] [is] [Yes] >>> [RITM_parent] [is not] [No] and if it is evaluated the same way or differently. That could give you some other ideas what else can be done about it...

Debugging tip 2: The test execution writes the "yes" value is a string, as you have it choice, could you use its sys id in the condition?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */