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.

flow not working as expected

El Cuchi
Tera Guru

hi there,

 

i have a weird situation.

SITUATION

i created a flow and a catalogue item. The catalogue item has a couple of variables populated via portal, and other few variables populated in the catalogue task. One of the variables populated via portal contains business applications affected. It could contain 1 or many values.

When the task is created and assigned to a specific group, the support staff fill out the "certificate status" "reason" and "comments" fields. Based on the value of the "certification status" field (certified, not certified, exemption) i then update the business application record/s by updating the certification state as per task and copying the other 2 fields as a comment.

 

In the flow, i have 3 conditions. one for certified, a second one for not certified and a third one for exemption. This is when based on the state selected in the task the business application is updated.

 

ISSUE

When i create a request via portal the RITM and the task are created. As a support staff i complete those three variables and close the task. However, the business application record is not populated. When i check the flow context, the flow evaluate to FALSE all 3 conditions and keeps the RITM in fulfilment stage.

 

The unusual thing is that when i run a test via flow designer using the same request, everything works like a charm.

why??

 

regards

 

2 REPLIES 2

dhanrajb
Tera Guru

Hi @El Cuchi ,

 

Are you receiving value from the catalog variable? Can you show all those three conditions?

Hi Dhanrajb,

 

thanks for taking the time to look at this.

i am attaching screenshot of the condition. This condition is in the flow 3 times. To check for certified, not certified and exemption.

 

regards,

Max