- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 01:30 AM
Hi Experts,
I have designed a workflow for ordering Software. The process is that it opens a request item then an RITM.
I am facing a problem that whenever I request for a software, it opens two workflows for a service Request, one is oob workflow Service Catalog Request, and my designed workflow SC-Software Request wf. As a result it automatically sets the Approval value as Approved due to the oob process Runs.
I am unable to separate it. I want only my designed SC-Software Request wf to Run. The only method is to quote a price of the software I think which If I increase more than $1000, then it will not set the value automatically to be approved. Is there a way I only want my workflow to Run for this Request.
Regards,
Raju Singh
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 03:19 AM
Use below
var title = '';
var desc = '';
var ritem = new GlideRecord('sc_req_item');
ritem.addQuery('request',current.sys_id);
ritem.query();
while (ritem.next())
{
if (title=='')
{
title = ritem.cat_item.getDisplayValue();
desc = ritem.cat_item.category.getDisplayValue();
}
else
title = title + ','+ritem.cat_item.getDisplayValue();
desc = desc+','+ritem.cat_item.category.getDisplayValue();
}
current.short_description = title;
current.description = desc;
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 03:25 AM
Is there a way to attach a service Request workflow (not Service Request Item) based on categories for Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 03:28 AM
Basically how the workflows works in Service Catalog is that it work in two sets.
1) one workflow works for Service Request. I am not sure how to segregate this based on categories as it doesn't show the condion as Categories
2) second workflow works for Request Item. This can be segregated as I get the conditions for categories in this workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 04:46 AM
Hi Raju,
The one which you want to run change the condition based on the short description of the request which is generally same as that of a catalog item.
Hope this helps.
Thanks,
Riyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 05:29 AM
Hi Riyanka,
short Description of the request is not getting filled from the catalog item. It comes as a blank field. Hence I am not able to use this condition in Service Request. However, short description of the RITM is getting field from the catalog item.