Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Conditional Statement in Flow Designer not picking up drop down values in from the Get Variables

Luis Roman
Kilo Guru

Collaboration needed.

I am working on a new scope application. I defined a catalog item with a variable defined as a Look up Select Box from a  table. The drop-down field name is “request_type”.

Before submitting the catalog item, I select the “request_type” from the drop down and submit the catalog item.

The RITM (request item) record is created and the “request_type” value originally selected is in the RITM generated.

However, when I go to Flow Designer and add a conditional statement for the “request_type” , the choices from the drop list in the catalog item are Not displayed. 

Does anyone, have an idea on what I am doing wrong because Flow Designer does not pick up the values of the “request_type”? Not sure how to start debugging this issue? Your guidance or feedback appreciated.

See picture for additional details.  Thanks for the help, Luis 

find_real_file.png

1 ACCEPTED SOLUTION

Jon23
Mega Sage

Hi Luis,

Not sure you're doing anything wrong, I experienced the same behavior as you described.

One solution is to set a flow variable to the value you want to query against and use that in your if condition.

 

View solution in original post

3 REPLIES 3

Jon23
Mega Sage

Hi Luis,

Not sure you're doing anything wrong, I experienced the same behavior as you described.

One solution is to set a flow variable to the value you want to query against and use that in your if condition.

 

@jwalton Thank you for replying to my question. I tried to use a flow variable but getting error. 

See below. Can you provide additional information as to "how to" in order for me to be able to perform a similar work-around. Thank for continue collaboration and assistance is appreciated. 

Define Flow Variable as a string. 

LAXMI TODAKAR2
Tera Contributor

Hello @Luis Roman @Jon23 ,

 

I have faced similar issue, I have gone through this post. It helped me to resolve my issue.

How can you get the display value of a select box in Flow Designer

 

Thank you,

Laxmi