Set Assignment group at RITM level from catalog task script in workflow

Apex Predator
Kilo Expert

Hello,

I have a catalog item and a workflow. In my workflow, I have a catalog task with a script like thisfind_real_file.png

 

Can I set the Assignment Group at the RITM level from here. My task get an assignment group set using assignment rules. I want the same group to appear here. How can do it using this script?
Thank you

1 ACCEPTED SOLUTION

I don't want to assign the group to the task. I want it the other way around. I was able to achieve this in the workflow by modifying the above mentioned script and putting it inside the 'Run Script' in workflow. I query the task table with the sys_id of RITM, get the task object, get it's assignment group and assign it to RITM's assignment group.

View solution in original post

5 REPLIES 5

I don't want to assign the group to the task. I want it the other way around. I was able to achieve this in the workflow by modifying the above mentioned script and putting it inside the 'Run Script' in workflow. I query the task table with the sys_id of RITM, get the task object, get it's assignment group and assign it to RITM's assignment group.