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

Question

Question

Workflow/Form triggers

asked on November 25, 2019

I want to be able to run a forms process.  This will start a workflow and hold until that workflow is complete.

The workflow is needing to wait for external conditions to complete in order to finish.  I know I can have a repeat loop with delay build in so the workflow isn't running processes infinitely.  But this also means there are 100+ workflows running and looping every 10 minutes to see if a condition is met.

Is there a way to hold a form and push forward once an external condition is met to trigger?  Or can the same be done to externally update a workflow so it doesn't have to loop and check if condition is met?

0 0

Answer

SELECTED ANSWER
replied on November 25, 2019

Hi Chase

There is not a straight forward way to do this.

The way I do this is I attach a timer event to a task in Forms that will call out to the workflow (The workflow  will check the condition and then return a response to the form. If Yes, then I use a signal trigger to move the process along, if no, the task remains and the timer will kick off again on the repeat interval.

I prefer this so that Forms remains in control of the process. If the task is stopped then I'm not worrying about WF running that are not required and the WF are not waiting.

I use longer delays as well, unless it is so mission critical that the process cannot be delayed, then I would increase the timer value to something more suitable such as 1 hour, 2 hours, etc

Hope this gives you another option to consider

2 0
replied on November 25, 2019

Hey Steve thanks for this idea!  Yes I believe this will be the best option with current functionality.

0 0

Replies

replied on November 25, 2019

What are the external conditions? If you're talking about a change to a Laserfiche document, you could use a wait condition, but if you're talking about something like an update to an external database then the only option would be using delays and repeats as Steve mentioned.

0 0
replied on November 25, 2019

External condition would be when a DB column = 1, default is 0.   When it sees 1 trigger the workflow and form process to move forward.

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

Sign in to reply to this post.