Creating Separate Catalog Tasks Based on List Collector Selection in Workflow

scn698
Tera Contributor

Hello Community,

 

I'm currently working on a ServiceNow workflow attached to a catalog item, and I'm facing an issue. The workflow involves a switch activity where the values from a list collector field named "environment" are correctly displayed, and the result is returned as the sys_id of the selection.

 

However, the workflow seems to get stuck after the switch activity, and it's not progressing to the task creation activity. My specific requirement is to create separate catalog tasks based on the user's selection from the "environment" list collector, which references the question choice table.

 

Your assistance on this matter is highly appreciated, as this requirement is urgent. Thank you in advance for your help.

 

5 REPLIES 5

An oversight in my earlier communication: I wish to highlight that I have effectively implemented distinct automation logic for the 'PROD' environment within another run script. The current challenge is solely centered around the creation of tasks for the non-production environments.