- 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-18-2022 08:52 AM
Then, you can do a thing on the Maintain Item item form where we define the name and other things of the request just create a checkbox and for all the items where you want to do it make the checkbox value true.
And in business rule you will just have to use condition item.checkboxfieldname is true
Please mark answer correct/helpful based on Impact.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 11:51 AM
Hi Saurav,
Can you please share some screenshots on how to define and create a checkbox.
Thanks,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 11:56 AM
Hello
It is mindnight over here Will share one tomorrow
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2022 10:58 AM
Hi Saurav,
Can you please share the screenshots for defining and creating the checkbox.
Thanks,
Mallika