Flow designer error -not a valid conditional expression. com.snc.prpcess.flow.exception.opexception

servicenow_devo
Tera Expert

Hello all,

Can anyone help me with an query regarding error I am getting in flow designer which I have newly designed. Please find the image.

 

I have designed a flow and it checks each sctask creared to close the ritm and req. So inside fo each loop I have given an if condition. Checking whether sctask is closed. But while running the flow, context is showing followung error. And the condition 1 in if 64th line seems modifying itself.

 

20230227_155811.jpg

20230227_155756.jpg

Can any one help me with the query, since it's irgent emergency requirement.

Thankyou
3 REPLIES 3

Naga Ravindra R
Kilo Sage

Hi @servicenow_devo 

 

What I understood is if all the sc_tasks in ritms are closed, then you need to close the Request.

Can you please explain in detail?


I have designed a flow and it checks each sctask creared to close the ritm and req. So inside fo each loop I have given an if condition. Checking whether sctask is closed. But while running the flow, context is showing followung error. And the condition 1 in if 64th line seems modifying itself.

 

Happy to help!

Thankyou for response.

 

My requirement is each sctask Created on ritm needs to be checked.

-If all sctask is completed ritm and req needs to be closed.

-If any sctask is incomplete need to mark ritm and req close incomplete.

-for each sctask created need to follow procedure.

-currently I am getting error in flow and flow is not running after for each loop.

 

20230227_180709.jpg

 -this is the logic I have given, these lines after 61 is not working.

-

Thankyou

dhruv_yadav
Tera Contributor

Hi @servicenow_devo, please try deleting and re-entering the condition inside the 'if' flow logic. I encountered the same issue, and this solution worked for me.