What’s the Best Way to Assign Assignment Group in ServiceNow (Production Scenario) ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi everyone,
I was working on a requirement where I had to update Incident records in bulk where state is Open and assignment group is empty, and assign them to the "Service Desk" group using a background script.
I wanted to understand what is the best approach to use in a real production environment.
Some options I considered:
- Fetch group dynamically using name and then use group.sys_id
- Directly assign the sys_id in the script
- Store sys_id in a system property and use gs.getProperty()
Is there any other better or more scalable approach to handle this?
What do you usually follow in real projects and why?
0 REPLIES 0
