workflow. They can be implemented at the workflow level, for example when the
workflow is started or completed, or at an element level, for example when
anyone approves or rejects a step in the approval.
Event handlers are implemented by creating a class that implements one or more
of the EventHandler interfaces. The interfaces at the workflow level are as
follows:
Event | Description |
WorkflowStarted EventHandler | This event occurs when the workflow instance starts. |
WorkflowCompleted EventHandler | This event occurs when the workflow instance ends after it is completed. |
WorkflowCanceled EventHandler | This event occurs when the workflow instance ends after it is canceled. Use this event handler to perform any clean up operations needed. |
WorkflowConfig DataChangeEvent Handler | This event occurs when a workflow changes. Use this event handler to identify when a workflow has changed. For example, if you create an association between the application data and a workflow, this event would be raised if the workflow was deleted or updated so that application code could be invoked or respond in some way. |
Best Regards,
Hossein Karimi
No comments:
Post a Comment