Switch condition in workflow

navyag
Kilo Contributor

Hi Team,

I have variable of type "multiple choice" in that i have three values.Based on the selection of the multiple choice" it should move further.I am using switch condition in work flow,to represent it.

The flow got stuck in the switch case.please give me sollution as soon as possible.

Thanks,

Navya

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi G Navya,



Please share the screenshot.


arnabbose
Tera Expert

Hi,



1. Check if Variable Name is captured in the Switch.


2. Then check if activity.result == "choicename" has been updated against each choice.



As Pardeep said, a screenshot would be useful!


Hi,
I am facing same issue,:

- variable name is captured in switch

- all conditions have activity.result == 'choice' reflecting correctly

- I have kept else==true for 1 condition to make it default exit

- but my switch is going to else=true line item EVERYTIME, requesting your help to fix it

PrudeAnurag
ServiceNow Employee
ServiceNow Employee

Hi,



Add the logs, you might be able to debug things



-Anurag