Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Auto assign Remediate Duplicate Tasks to assignment group based on CI class

anushaelaga
Tera Contributor

Hi,

 

We have a requirement of auto assigning Remediate Duplicate Tasks to assignment group based on CI class. Like we have 2 Linux servers under duplicate task so that the task should get assigned to particular assignment group.

 

I tried with assignment rules, but we don't have CI field on Remediate Duplicate Task (reconcile_duplicate_task). We have CI filed on Duplicate Audit Result (duplicate_audit_result) tables but it is not getting listed on assignment rules table selection.

 

Has anyone worked on this kind of requirement?

1 REPLY 1

Community Alums
Not applicable

Hi @anushaelaga 

 

To auto-assign Remediate Duplicate Tasks based on the CI class, you can utilize a business rule on the "Duplicate Audit Result" (duplicate_audit_result) table. Since the CI field is available on the "Duplicate Audit Result" table, Try creating an after insert Business rule on duplicate_audit_result table. So that BR should trigger whenever a record is inserted in Duplicate audit result table. 

->Get the current CI class. Based on CI class retrieve the assignment group.

->GlideRecord to Remediate duplicate task and map the duplicate audit result field and update the assignment group value