How to assign a RITM to any particular group automatically after being approved by the User?

Samrat7
Kilo Contributor

Hi,

Really new to Servicenow and struck with this issue.

So I have a service catalog item whose RITM when request is made needs to be approved by a test user and then once approved needs to be assigned to a particular group automatically. For the former part, I have set a pre-published workflow - 'Service Catalog Item Request'. According to this workflow after a request is made through the service catalog item, the RITM goes through two stages of approval : 1) Dept. Head approval 2) CIO Approval . So, I think 1st part of my job is done. I'm struck in the second part where once these approvals are made the RITM should be assigned automatically to a particular group (it can be any group). Any help regarding this would be really appreciated.

Thanks. I'm attaching the screenshot of the catalog item.

1 ACCEPTED SOLUTION

weikiat_guaz
Giga Expert

In your workflow, you need to add a task to it.

Please see below example:

find_real_file.png

View solution in original post

6 REPLIES 6

Vik7
Mega Expert

You would need an activity to wait for all the approvals related to the RITM to be completed before the next activity where it would set the the assignment group to the YOUR ASSIGNMENT GROUP.

Samrat7
Kilo Contributor
Sir, can you kindly provide a bit more details about how to achieve that or share some resources that guides regarding this since I'm completely new here.

Munender Singh
Mega Sage

Hi,

As mentioned above by Vik,plz put a 'wait for condition' activity and then,task activity with following script:

 

current.assignment_group = "sysid of group";

 

Regards,

Munender

Sir, can you kindly provide a bit more details about how to achieve that or share some resources that guides regarding this since I'm completely new here.