Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vimalraj-a opened this issue Feb 13, 2019 · 1 comment
Open

Comments

@vimalraj-a
Copy link

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?

@danielgerlag
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants