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

Question

Question

Conditional decision in Workflow based on workflow service task in Forms

asked on January 25, 2017

Hello,

 

   I'm trying to create a conditional decision in Workflow based on the Workflow Service Task in Forms. I've two forms that will use the same workflow and each form will pass their variables to the workflow via the Workflow Service Task. The problem is that because there isn't a specific starting entry, I can't choose a path to take based on Entry. Do I need to save the submitted Form to the repository first so that there's an actual starting entry? In which case, I wouldn't be using the Retrieve Business Process tool.

 

Thanks,

Michael

0 0

Answer

SELECTED ANSWER
replied on January 25, 2017

To get the additional form tokens you must click on the green workflow start arrow at the top of the workflow and then in the lower right corner 'View Workflow properties' and select 'Started by Laserfiche Forms'.   You will then get a new set of tokens, 'Input Parameters' that includes the BP Instance Name.  ( and a lot of other useful tokens! )

0 0

Replies

replied on January 25, 2017

You could pass in the forms data and use token conditions.

1 0
replied on January 25, 2017

along with what Miruna said ...

I do this with quite a few workflows, initially based on the %(BP Instance Name) token then retrieve the process variables for the specific form.

0 0
replied on January 25, 2017

I ended up doing it the way that Miruna suggested, but put the Retrieve Business Process fields in a parallel path above the conditional decision. It's clunky, but it works.

Unless I'm missing something, I don't see anything like %(BP Instance Name). 

0 0
replied on January 25, 2017

Thank you very much Andrew! I wasn't aware of that.

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

Sign in to reply to this post.