change group names

Jan-Z
Giga Expert

Soon we will be updating all group names in ServiceNow.

I am looking for ideas on how to update the group names within workflows without having to open each workflow.     I was thinking of data normalization but not sure if this would work.

Right now we have 163 workflows.   Many of the tasks in the workflows are assigned to the IT Corporate Service Desk.   This name will change.   How can I update the new name across all workflows automatically.

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Janet,



I've just created a workflow and it has the activity with the approval group which has a approval group "CAB Approval" in condition builder. Now I went and change the group name to "CAB" and the workflow got the change updated automatically.


Hence I don't think you have to manually update the changes again on the workflow.


Can you please check the same once and let me know if you have any questions.


JordanLind
Kilo Guru

Hi Janet,


If you've set your group name using the condition builder in a workflow activity, then the name change will flow automatically.



If you've added the Group name to Name field, you'll have to update this manually.



If you've set the group in the advanced script of any activity, you'll have to manually update it too.   It's best to create a system property for any group and reference that instead of hard coding the assignment group in the script.   This way, if you decide to change the group name again, you'll just need to update that system property and it will apply to all scripts that call that system property.