workflow-es
workflow-es copied to clipboard
Callbacks needed for post-start and post-complete workflow execution
We have an requirement that users should be notified on workflow start and completed.
@danielgerlag afterWorkflowIteration function on workflow-step-base is executed before determineNextExecutionTime. So, we don't get status of workflow in WorkflowInstance argument.
Any idea how we get status of the workflow on realtime instead of polling database with db-provider?
You could implement explicit steps within your workflow to publish it's status somewhere. In the .NET version of this library we have built a feature to hook into these events... we could also look at porting that functionality to workflow-es