Incident Assigned to field and Assignment group dependency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 10:52 AM
I have a requirement in incident that if:
1. If the Assigned to is populated, and the Assignment group field is empty, the Assigned to field should not also be empty. Currently, OOB functionality the assigned to field is getting empty once the assignment group is empty.
2. If the Assigned to field is populated and the Assignment group changes, the assigned to field will be empty only if the user is not a member of that new assignment group.
Can someone please help me how to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 11:58 AM
Hi Jet R,
1. I found that there is a client script for the Incident table called "Empty assigned_to on group change" that I was able to deactivate and get your desired result.
2. I created a business rule with the following script to clear the assigned to field only if the user is not part of the new assignment group:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 03:44 AM
Hi @JoeSD
May I know why you created a BR? And what type of BR is this? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 05:56 AM
Hi @Jet R
This BR on the incident table is to clear the "Assigned to" field if a if the user in that field is not part of the the new "Assignment group". I used the following "When to run" settings:
Thank you,
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 12:40 PM
I think this is how it is working OOB as well.
I selected the Bow Ruggeri in assigned to and network group in assignment group.
Bow Ruggeri is part of Network and Hardware group.
When I changed the group to Hardware. Assigned to did not become empty and still had Bow as he is part of the new changed group as well.
When I changed to a totally new group then it updated assigned to as empty.
If you found my response helpful or relevant to your query, please consider clicking the "Helpful" button or giving it a "Like". This not only helps others identify useful replies but also encourages contributors like me to continue assisting the community. Thank you for your support!