- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 08:18 AM - edited 05-16-2024 08:29 AM
Hi,
I want to update the assignment group to a particular assignment group when the condition fulfills on RITM ie. service offering is xyz and location is abc, then it should update.
For example, there is one catalog item that is being raised by GETit and RITM is generated with an assignment group. I want to update that value when the matching conditions are fulfilled.
I tried using assignment rules but again it doesnt work if the field has already a value and in my case assignment group already has a value, we just need to update it.
Can someone please help me here.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:02 AM
@mansigoel Assignment rule only works if the Assignment group and assigned to fields do not have any values populated. In your case if the value is already populated then you can create an onBefore Insert business rule on the RITM (sc_req_item) table and add filter condition when Service offering is xyz and location is abc in the action field you can set the value of assignment group accordingly.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:46 AM - edited 05-16-2024 11:47 AM
Hi @mansigoel ,
You can achive this functionlity by 2 ways
1.) By scripting - Create Before Business Rule table - sc_req_item and add below code
if(current.service_offering == 'sys_id of service_offering' && location == 'Sys_id of location'){
current.assignment_group = 'sys_id of assignment_group';
}
2.) As Sandeep mentioned you can also try by BR Actions.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:02 AM
@mansigoel Assignment rule only works if the Assignment group and assigned to fields do not have any values populated. In your case if the value is already populated then you can create an onBefore Insert business rule on the RITM (sc_req_item) table and add filter condition when Service offering is xyz and location is abc in the action field you can set the value of assignment group accordingly.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:46 PM
Hi Sandeep,
Thankyou for your solution. I though of the same solution but, I have multiple locations that need to be configured as conditions. So, it will be tough to hard code each value in the BR.
We don't have other solutions other than this right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 01:06 AM
Hi @mansigoel ,
so you have multiple location and based on each location selected you have to set assignment group ? then you can go ahead with the scripting part in before insert BR.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:46 AM - edited 05-16-2024 11:47 AM
Hi @mansigoel ,
You can achive this functionlity by 2 ways
1.) By scripting - Create Before Business Rule table - sc_req_item and add below code
if(current.service_offering == 'sys_id of service_offering' && location == 'Sys_id of location'){
current.assignment_group = 'sys_id of assignment_group';
}
2.) As Sandeep mentioned you can also try by BR Actions.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak