- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 08:39 AM
Hi all,
I have small Requirement, How To populate RITM assignment group based on catalog task assignment group field,
same groups populate in Ritm based on catalog task assignment group field.
please Help me on this
Thanks,
Karishma.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 09:44 AM
Hi
You want to populate same catalog task assignment group in RITM assignment Group??
if Yess, then
Create BR
Script:
(function executeRule(current, previous /*null when async*/ ) {
var ritm = new GlideRecord('sc_req_item');
ritm.addQuery('sys_id', current.request_item);
ritm.query();
if (ritm.next()) {
ritm.assignment_group = current.assignment_group;
ritm.update();
}
})(current, previous);
If my response is helpful, then Please mark as Correct Answer/Helpful.
Please check and let us know.
Thanks 🙂
Shakeel Shaik.
Shakeel Shaik 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 08:51 AM
This is a very counterintuitive requirement. What's your business use case?
RITM is like a parent and catalog tasks may be assigned to different assignment groups based on your workflow, flow.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 08:59 AM
Hi sachin.namjoshi,
if itil user select the assignment group in catalog task that value should populate in Ritm assignment group it should every catalog item.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 09:15 AM
You can configure a flow designer flow on sc_task table to copy assignment group from sc_task to sc_req_item record.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 08:49 AM
Hello Sachin,
Could you please please tell me how we can copy the assignment group from sc task to sc_req_item?