Notifications

3 views

Description

Choice nodes in switch activity are not coming in workflow automatically for any variable.

Open a workflow and try to add switch activity for a select box variable in the instance, only one condition with always is coming.

The expected behavior is to add all the choices into the condition for the workflow switch activity. 

Cause

The issue is fixed on adding the missing OOB business rules and client scripts.

The below business rule and client script are missing in your instance, so the condition for switch activity is not added.

Create Switch conditions - https://<instance-name>.service-now.com/sys_script.do?sys_id=6a53708b0a000704504ce1f1bd40a3e3

Disable Switch Activity Variables - https://<instance-name>.service-now.com/sys_script_client.do?sys_id=6a1b00cc0a0007045117f8786865a85e

 

Resolution

Adding the business rule and client script to the instance will fix the issue. 

Create Switch conditions - https://<instance-name>.service-now.com/sys_script.do?sys_id=6a53708b0a000704504ce1f1bd40a3e3

Disable Switch Activity Variables - https://<instance-name>.service-now.com/sys_script_client.do?sys_id=6a1b00cc0a0007045117f8786865a85e

 

Article Information

Last Updated:2019-12-16 21:15:20
Published:2019-12-17