How a service catalog workflow can be attached

wakespirit
Kilo Guru

Dear all,

I get a weird question on the workflow attached method in a practice guide.

It is mentioned that service catalog work flow can be attached in 3 ways :

- manually on the catalog item form

- Automatically based on conditions

- Automatically if no other workflow attached

 

how to do the 2 last one ?

thnaks for help

1 ACCEPTED SOLUTION

Joel Millwood2
Kilo Guru

Hi scal,

Even if a workflow is not specified on any catalog items, it can still be executed if the table under Workflow Properties > General and the conditions under the Workflow Properties > Conditions is matched. For example if you have a workflow set to run off the Change Request (change_request) table it will trigger whenever a record is inserted into the Change Request table however you may want to further refine the conditions for execution based upon certain criteria.

There are other options as well such as Run if no other workflows matched. Please see the following Product Documentation for further information: Workflow properties.

View solution in original post

3 REPLIES 3

Joel Millwood2
Kilo Guru

Hi scal,

Even if a workflow is not specified on any catalog items, it can still be executed if the table under Workflow Properties > General and the conditions under the Workflow Properties > Conditions is matched. For example if you have a workflow set to run off the Change Request (change_request) table it will trigger whenever a record is inserted into the Change Request table however you may want to further refine the conditions for execution based upon certain criteria.

There are other options as well such as Run if no other workflows matched. Please see the following Product Documentation for further information: Workflow properties.

Shambhu5
Kilo Guru

Hi Scal,

Automatically based on conditions : This means that for ex: if you want to attach a workflow at certain point after Request Submission, like on REQ. Can you attach workflow to REQ? (through form or from somewhere else) Answer is No. But, using Conditions tab present while creating the workflow (just as Joel has mentioned in above post), you can attach workflow anytime and to any stage.

Automatically if no other workflow attached : Try creating a Service Catalog without attaching/giving any Workflow to it. When you will submit that Request, you will still, be able to see the stages and REQ, RITM and Tasks will be created. This is because of Execution Plans. Even if you dont attach a workflow, a Default Execution plan gets attached (OOB) to it. These Execution Plan also works as similar to that of Workflow.

Please try both the mentioned conditions.

Mark my answer as Correct if that helped you somehow.

Thanks

suvro
Mega Sage
Mega Sage

For option 2: Every workflow has a condition defined, to trigger the workflow. If there is any workflow whose condition matches when that catalog item is submitted then it will automatically get attached

 

For option 3: The default execution plan runs when your 1st 2 options are not met. There is a field on the catalog item form called Called Execution Plan  which has a default workflow attached to it. When you dont attach a workflow in the workflow field nor any existing workflow conditions match. default workflow attached to the Execution Plan works