How to create multiple catalog tasks for 1 catalog item

kimstorey
Kilo Contributor

Hoping someone can advise how I can create multiple tasks for a single catalog item based on 1 variable which has 5 options and needs

to go to different Resolver Groups based on the selection.   Some of the tasks also need to move into a Awaiting Vendor status.

I have tried to do this a few ways using a single task with business rules, but i am not able to get the tasks working as i want, it seems to

look at one business rule only.

Appreciate any help.

1 ACCEPTED SOLUTION

amlanpal
Kilo Sage

Hi Kim,



First of all, I'm assuming that the Workflow behind your particular Catalog Item is not generic and being used only for the item. Saying so, the best approach of achieving the requirement would be customizing the workflow and create your catalog task with the corresponding state values. You can use Switch activity, which is easiest way (avoiding scripting) to achieve the same apart from if activity. Please have a look at this official document from ServiceNow on how to use the Switch activity and its functionality.



I hope this helps.Please mark correct/helpful based on impact


INC0010078


View solution in original post

8 REPLIES 8

Shishir Srivast
Mega Sage

You can achieve the same through workflow using the Catalog Task activity. You can have the If condition activity to check if the conditions satisfied then create the accoundigly. There is OOB workflow which you can refer.   You can type the workflow editor in navigation window and then check the workflows. (ex: Procurement Process Flow : Hardware etc.)



find_real_file.png


andrewpilachows
Kilo Guru

Are you building a workflow for the catalog item?   It's kinda sounding like you just need to build out different conditionals in a single workflow which would assign tasks based on the option selected.


SanjivMeher
Mega Patron
Mega Patron

Hi Kim,



You should be using workflow to create catalog tasks. You can associate a workflow to your catalog item, and based on conditions you can create the required workflows.



Please mark this response as correct or helpful if it assisted you with your question.

yltsai
Mega Guru

Kim,


From all other learned ServiceNow community friends reponses above, I agree that you should use a workflow to generate multiple catalog tasks. There are several different options to get thing done.



I have implemented many similar requests before. I use Switch to create multiple tasks then all point to Wait for.


https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/administer/workflow-activities/...



Thank you,