logo

NJP

Auto Populate of Assignment Group in Incident Form for all CI's in ServiceNow CMDB

Import · Apr 29, 2021 · article

Hello Everyone,

I would like to share one of my work that might helpful to my fellow ServiceNow colleagues i.e. auto populate of 'Assignment group' in 'Incident Form' for all CI's in ServiceNow CMDB. This can be extended to problem management and change management with a little bit of tweak.

For now I am taking the example of 'Incident Form', so all we need a client script like below.

Condition for Success - In my infrastructure the field in the main 'CMDB table(cmdb_ci)' the field that hold this support group information is - support_group(reference to group table),so this field(support_group) must need to have data in it's respective table(like - Windows Server table,Linux Server table,Business Service/Application Service table etc.).Now if support_group field is blank for any particular field then it will not work.

Hope this will help my fellow ServiceNow colleagues.

Take Care and Stay Safe everyone!!

image

View original source

https://www.servicenow.com/community/itsm-articles/auto-populate-of-assignment-group-in-incident-form-for-all-ci-s/ta-p/2315208