- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2024 07:50 AM
How can I copy the Assigned To value in SCTask to Assigned To in RITM?
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Desk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2024 07:59 AM
Hi @John H1 ,
Create a After Update Business rule on sc_task table:
var ritmGR = current.request_item.getRefRecord();
ritmGR.assigned_to = current.assigned_to;
ritmGR.update();
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2024 08:10 AM - edited ‎06-04-2024 08:11 AM
Hi @John H1,
Quick clarification here, you want to copy the 'Assigned to' from the child SC Task to the parent Request Item (RITM)?
Whilst this record hierarchy is dependent, they are typically assigned differently dependent on the task action (and assumed different fulfiller group).
What happens if 2 or more tasks are created and are active and assigned to different people - what should the RITM reflect? What happens when the assignee on the SC Task is changed and updated?
I would recommend playing out and questioning these scenarios before implementing, however in order to answer your question, a quick and easy way to achieve your ask would be to implement an after update business rule which simply updates the parent RITM item on change of the SC Task Assignee.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie