Multirow variable set not returning true/false in flow designer

gjz
Mega Sage

I have a multirow variable set with four fields in it; one of the fields is a Yes/No field to check for inventory.

 

gjz_0-1697736569173.png

 

In the flow, I have an If flow logic to determine the next steps, but, because the MRVS values are converted to a string it's not working.

Here's my flow logic:

 

gjz_3-1697736857531.png

 

The only option available for the condition for that variable is Yes or No, which matches the variable type that was selected in the MRVS.

However, when I test the flow, the If flow logic is looking for true/false, not yes/no and it never works.  

 

This is what the "Get Catalog Variables" retrieves for the MRVS:

gjz_4-1697737327083.png

But the If flow logic converts the true/false to yes/no:

gjz_5-1697737432802.png

 

How can I get the If flow logic to evaluate the variable correctly?  The only thing I can think of is to create a flow variable and change the value - which is stupid to me because it should already know it's true/false like workflow does.

 

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

Do you have option for Contains instead of Is? That way you can compare with a value such as true


Please mark this response as correct or helpful if it assisted you with your question.

No, this is If flow logic which expects true/false, but the data retrieved is yes/no.  It's not an option.

 

You should report this bug to ServiceNow. 

The alternate option would be to create an action to Validate MVRS Yes/No variable which can be reused or creating flow variable.


Please mark this response as correct or helpful if it assisted you with your question.