Jorge Martins | 1 Oct 2010 00:58
Picon

Supend workflow until condition is true

Hi, I', trying to make a workflow in wich, after some user input the workflow follows on or stays in the same node until a certain form field matches a condition

I've created and Input node, after that I have a ExclusiveChoise with forks to a ServiceObjectClass if the condition is false or to a SimpleMerge node if the condition is true

The ServiceObjectClass will suspend the workflow, and that is working OK, but the data is the execution_waiting_for field is lost, and the workflow will never go the right path if the condition later on turn true.

I don't know if i'm doing the right workflow, or if I have to do something to keep the original state of the input node.

So in a glance the idea is:


Input node (id: 1) -> ExclusiveChoise (id: 2)

    ->True? -> SimpleMerge (id: 3)) -> End
    ->False? -> ServiceObjectClass (id: 4) -> SimpleMerge (id: 3)) -> End

node 4 suspends the workflow and it should be back to node 1 so the user later on can change the input value so condition is true

Thanks

<div><p>Hi, I', trying to make a workflow in wich, after some user input the workflow follows on or stays in the same node until a certain form field matches a condition<br><br>I've created and Input node, after that I have a ExclusiveChoise with forks to a ServiceObjectClass if the condition is false or to a SimpleMerge node if the condition is true<br><br>The ServiceObjectClass will suspend the workflow, and that is working OK, but the data is the execution_waiting_for field is lost, and the workflow will never go the right path if the condition later on turn true.<br><br>I don't know if i'm doing the right workflow, or if I have to do something to keep the original state of the input node.<br><br>So in a glance the idea is:<br><br><br>Input node (id: 1) -&gt; ExclusiveChoise (id: 2)<br><br>&nbsp;&nbsp;&nbsp; -&gt;True? -&gt; SimpleMerge (id: 3)) -&gt; End<br>&nbsp;&nbsp;&nbsp; -&gt;False? -&gt; ServiceObjectClass (id: 4) -&gt; SimpleMerge (id: 3)) -&gt; End<br><br>node 4 suspends the workflow and it should be back to node 1 so the user later on can change the input value so condition is true<br><br>Thanks<br></p></div>

Gmane