Is there a way to generate multiple tasks to various assignment groups via a script?

Cupcake
Mega Guru

Just wondering if there is a way to generate multiple tasks - 1 Task for each assignment group needed via a script.

Instead of creating multiple tasks, I want to create 1 task and inside of the task via the Advanced is there a script that can be used to generate additional tasks to other assignment groups.

Not sure if this is even possible.

find_real_file.png

 

Thanks,

Karen

6 REPLIES 6

Cupcake
Mega Guru

Thank you everyone for replying. I was just wondering if there was a way to do it for future requests.

So it will be a minute before I mark which solution worked best for us. And we will be upgrading to London hopefully sooner rather than later.

Everyone have a great day.

 

Karen

scott barnard1
Kilo Sage

For a more generic approach you can create a table called task assignment  etc. Make a related list on catalog item

On this table create name for task and associate it to an assignment group

Then you just call the contents of the table in a generic workflow that uses a script to fetch the content of the table related to that cat item and generate the tasks from there. So basically a similar script but it doesn't take the content of the list collector but takes the values from a table 

So workflow stays the same you manage what tasks get created and assigned to which group by maintaining the related list on the sc_cat_item.