- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 03:24 PM
Hi all,
Currently the RITM and Task priority is set to None. However, when a manager decides to select either a priority of 1,2,3 0r 4 on the RITM, the same priority has to be reflected on the Task.
We have multiple catalog items therefore changing the workflow would be tedious.
I have tried using the business rule too but it does not seem to work.
Any help will be appreciated.
Thanks,
Mallika
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 06:37 PM
The BR should run on "sc_req_item" on update when priority changes.
Add your items in the filter along with priority filters
var scTaskGR = new GlideRecord('sc_task');
scTaskGR.addQuery('request_item', current.sys_id); //load the sc tasks. There could be multiple.
scTaskGR.query();
while (scTaskGR.next()) {
scTaskGR.priority = current.priority;
scTaskGR.update();
}
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2022 10:11 AM
What is the change in the workflows that you are concern about?
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2022 10:31 AM
We have pretty complex workflows and some catalog items use over 5 workflows. Updating each workflow would be a tedious task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2022 10:41 AM
Upvoting for others to chime in.
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2022 12:13 PM
Hello
Can you explain what the workflow has to do here If the requirement is what i understood that when ritm priority is changed task priorty should also chnage then BR should do the trick
Can you elaborate a little more about your concern about worflow Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 08:09 AM
Hi Saurav,
I would have used the workflow to make the priority to be the same on RITM and the Task if it was for a single or less than 20 catalog items. But for 100 catalog items, where some workflows are interconnected.
The BR is not working with the conditions I put in.
Thanks,
Mallika