You are viewing limited content. For full access, please sign in.

Question

Question

Creating sub-workflow

asked on July 24, 2015

Hi all,

Is it possible to make a workflow become a sub-workflow of a whole workflow?

For e.g: I have a drop-down field 'Type' with values PCs and air-con.

If air-con is selected from the template, the sub-workflow is started.

 

Please advise.

Regards,

Sheila

1 0

Replies

replied on July 24, 2015

Hi Sheila,

 

You can invoke workflows from within a workflow at a certain point or inside a routing decision etc. But it sounds to me like you want a different workflow to start based on what's in a field. You can achieve this by altering your starting rules. So when a document is changed/created and the field value is "xxx" then start workflow A, on workflow B you could set the starting rule to trigger if the field is "ccc" value etc.

 

Hope this helps! smileyyes

1 0
replied on July 24, 2015 Show version history

I would second what Chris said. I have some business processes that involve multiple separate workflows that trigger at various points when the business process is waiting for a field value to be set to a certain value. I do this because I can leave the big business process running for valuable reporting info on the whole process yet allow multiple "sub-workflows" to do their thing along the way. For example I have a section in a business process that needs wait until some field values equal each other. To find out there needs to be some math done. The business process sits and waits until a hidden (to the user) field is set to "Matched" and every time the user changes the template data a second workflow triggers that performs the calculations and sets the hidden field to "Match" if they do. That allows the business process to move on at that point. That's how I accomplish "sub" workflows. I think that one AP processing BP I speak of has something like 3 or 4 total workflows that execute along the way.

1 0
replied on July 27, 2015

Hi Chris,

Thanks a lot for your reply.

Can I please have a screenshot  of the workflow so as to understand your scenario?

 

Kind Regards,

Sheila

0 0
replied on July 27, 2015

Hi Shiela,

 

Sure no problem. One way would be to invoke a workflow based on a routing decision inside a workflow like this:-

 

 

Or you could alter the starting rules to trigger based on metadata like this:-

 

Hope this helps point you in the right direction! smiley

2 0
replied on July 28, 2015

Hi Chris,

Thanks a lot. Will give it a try.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.