Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Flow designer taking display value rather than actual value in If condition .

Puja4
Tera Contributor

We are facing one issue in the “if” logic of inbound flow designer to check the certain state value. Based on the condition record will be updated . When the flow is executed, “state “ is taking choice display value, rather than value.

Label of the choice is “Awaiting Information – Requester” and value is 40 .

 

Condition of flow designer  :

 find_real_file.png

Flow execution :

find_real_file.png

Any guidance would be helpful
3 REPLIES 3

Ankur Bawiskar
Tera Patron

Hi,

check this workaround

RunTime value for a choice type Field is displaying Label instead of a Value.

Regards
Ankur

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

@Puja 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

If not, please let us know if you need some more assistance.

Thanks!
Ankur

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

Creating a variable and using an inline script with the below code as suggested in the article solved the problem for me:

 

return fd_data.trigger.current.getValue("my_choice");


It happened not only with choice values but with other field types as well