Hi team,
I just wanted to know whether it is possible to control the workflow from the backend.
Hi team,
I just wanted to know whether it is possible to control the workflow from the backend.
Hey @Tauqeer
sorry but I don’t get it.
Could you elaborate a bit what you want to achieve? What exactly is your question ?
Greets
Chris
Hi @Zelldon,
Thanks for response, Actually we were working on design of a workflow, wheree we had requirement for node hopping, i mean skipping few jobs, as we were implementing it the workflow became very complex. So we were just thinking whether can we handle the workflow from backend, lets say i have elasticsearch where i have stored the data of the workflow instance. By manipulating the workflow instance data is it possible to control the workflow execution.
No. And if you thinking about doing that, you are probably missing an understanding of some capability in the system. If you have an example model, we can show you how to achieve what you want to do.
As Josh mentions it is currently not possible but you can add message boundary events and go to other places of your workflow, if this is already know during design phase.
Hi Team,
Please find the sample workflow.
Hi @Tauqeer,
there is no command to change the timer. But you can model this behavior in your workflow, for example, by publishing a message.
Instead of the receive task with the timer boundary event, you could use an event-based gateway with 3 outgoing paths:
The message changes the variable that is used by the timer and loop back to the event-based gateway. Here it waits again for one of the events.