- 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 12:46 PM
Hi @mansigoel ,
You can try the BR which is mentioned by @Sandeep Rajput but add one more condition as "item is your catalog item name" otherwise it will run for every item and it might update for some different catalog item as well.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
