Auto Populate Assigned To upon resolving

menardJA
Tera Contributor

I got a request to have the Assigned To field either auto populate or become required when resolving an incident. I tried just using a UI policy  to make it required when status is resolved but it seems to auto delete when I save the Policy using form builder.

 

I also tried to configure a business rule to make the Assigned To field populate with the last updated user when an Incident is resolved but I cannot seem to grab that information when using current.updated_by on my business rule

 

 

1 ACCEPTED SOLUTION

Juhi Poddar
Kilo Patron

Hello @menardJA 

 

You can make the Assigned To field mandatory when the State is set to Resolved by creating a UI Policy—no coding required.

Refer to the screenshot below for the necessary configuration setup to achieve this.

UI policy configuration setup:

JuhiPoddar_0-1738991286103.png

Ui action:

JuhiPoddar_1-1738991380439.png

Result:

JuhiPoddar_2-1738991513127.png

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

View solution in original post

6 REPLIES 6

Hi @Juhi Poddar 

I attempted to add a UI Policy seen here through Form Builder 

menardJA_0-1739199143460.png

However after adding the UI Policy and hitting the save button the policy auto deletes itself. 

Ankur Bawiskar
Tera Patron
Tera Patron

@menardJA 

the usual process is to get assigned to populated, agent will work and then resolve

Ideally it should work in client script/ui policy and also in before update Business rule

share what you configured

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader