- 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 01:36 AM
Hi,
Please check the workflow version table and check if there are any conditions for both of them to run.
Regards,
Riyanka

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 01:38 AM
You need to open the out of box workflow and set the properties condition to not run when your item is request.
If you are sure the OOB workflow is not used anywhere, you can deactivate it as well.
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 02:01 AM
Hi Sanjiv,
How Shall I make this happen. Whenver, I place a request for a Software, first it Runs a SC Request and takes the approval process and this is how it is supposed to work. But the problem is that it Runs the two worflows as the oob is getting used in some other process and since the condition is that if Prices <1000. It automatically approves the request. I want to make use of the the condition if the catalog item is Software, but I do not see the option to make use of the Catalog Item or Category in the Service Request.
I only get the condition when the table is RITM(sc_req_item), but not when the Table is (sc_req)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 08:54 AM
You need to add condition based on short description of the request.
When you submit a request, the short descrption should be getting populated with the catalog name.
Please mark this response as correct or helpful if it assisted you with your question.