workflow-es icon indicating copy to clipboard operation
workflow-es copied to clipboard

Callbacks needed for post-start and post-complete workflow execution

Open vimalraj-a opened this issue 7 years ago • 1 comments

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?

vimalraj-a avatar Feb 13 '19 12:02 vimalraj-a

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

danielgerlag avatar Feb 16 '19 16:02 danielgerlag