Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to ignore workflow for specific catalog item

Community Alums
Not applicable

If i have a common workflow for all catalog items and i want to ignore attaching workflow for a specific catalog item, how can i achieve this?

I see there is no input condition for workflows on Requested Item (sc_req_item) table. If i select the table name as sc_request, i can see condition option enabled on the workflow, but the same option is not available when i select Requested Item table.

1 ACCEPTED SOLUTION

I typically deactivate that Workflow so it never runs on the Request table and handle all approvals, etc... on the Requested Items themselves.   I'll create a couple different approval workflows based on client needs and these can then be shared by multiple item workflows by adding them in as sub-workflows.   See the following Wiki article - Using Subflows - ServiceNow Wiki


View solution in original post

3 REPLIES 3

Jim Coyne
Kilo Patron

Workflows on Catalog Items work a little different than for other tables - you create a Workflow to run on the Requested Item table and then you specify on the Catalog Item itself what Workflow should run on that item.   You can create a specific Workflow for that particular item and select it in the Catalog Item form:


find_real_file.png



You should have either a Workflow or Execution Plan on each item.   I highly suggest using a Workflow.


Community Alums
Not applicable

Hey Jim,



Thanks for the response, but the OOTB workflow 'Service Catalog Request' is created on Request Table (sc_request) which runs whenever a Request is submitted REQ000001 right? As per your suggestion, we can control not to attach the catalog item workflow but please suggest how to prevent this Request table workflow.


I typically deactivate that Workflow so it never runs on the Request table and handle all approvals, etc... on the Requested Items themselves.   I'll create a couple different approval workflows based on client needs and these can then be shared by multiple item workflows by adding them in as sub-workflows.   See the following Wiki article - Using Subflows - ServiceNow Wiki