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

Question

Question

Multiple Forms to One Workflow

asked on December 11

Hi all, 

Have looked at a few other posts but can't find a clear answer. 

 

Basically I want to have multiple forms pass on to a single workflow for processing.

 

So the process is for using workflow to attach a document to another program, rather than having each business process have its own workflow I was hoping to pass them all to one workflow to do the attaching procedure.

 

I get stuck on the Retrieve Business Process Variables at the start of the

at the start of the workflow. I've seen input parameters, but how do I tell it to look at 'any' form instead of having to select a specific form. The variable submitted will be the same for all forms. e.g 'Staff Number'.

Any help appreciated.

 

Thanks

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on December 12

We have a workflow that currently covers five separate Forms processes. The workflow needs to be updated for each new form, but that's a simple addition. The token names are the same regardless of which process calls the workflow.

5 0

Replies

replied on December 11

You can build one workflow that does the processing. Create input parameters for that workflow for whatever logic you need.

Then you need to create a workflow for each of the form processes with the retrieve business process variables. Invoke the one processing workflow passing the form variables to the processing workflow's input parameters. Its not as elegant as a single workflow, but it will reduce the amount of duplication in workflow.

4 0
replied on December 12 Show version history

We set the workflow to be started by LF forms, then a conditional logic activity that will run based on the LF Forms BP ID (BP ID = <number>).  We also create a token for each value being pulled from the form.  Then assign the values to each token.  If all the Forms variables are the same name, it's as simple as copying and pasting both the Retrieve business process variables and the assigned token values activities to the new branch, then just change the LF form.

 

 

The activity is assigned to specific LF form, so I don't believe there is a way to use one activity to capture "any form".

3 0
replied on December 14

Thanks all for the replies, fantastic this has provided me with a solution.

Very much appreciated, Merry Christmas all!

 

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

Sign in to reply to this post.