Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Blogs / DaxGeek / Element Level Event Handlers

Element Level Event Handlers

The event handler interfaces at the workflow element level are as follows:

Event Description
WorkflowElement
StartedEventHandler
This event occurs when the task or approval starts.
For approvals, you can use this event to transition
the workflow document state from Submitted to
PendingApproval.
WorkflowElement
CanceledEventHandler
This event occurs when the task or approval is
canceled.
For approvals, you can use this event to transition
the workflow document state from the current state
to Canceled.
WorkflowElement
CompletedEvent
Handler
This event occurs when the task or approval is
completed.
For approvals, you can use this event to transition
the workflow document state from
PendingApproval to Approved.
WorkflowElement
ReturnedEventHandler
This event occurs when the task or approval is
returned to the originator.
For approvals, you can use this event to transition
the workflow document state from the current state
to RequestChange.
WorkflowElemChange
RequestedEvent
Handler
This event occurs when an approver requests a
change to the task or approval.
For approvals, you can use this event to transition
the workflow document state from
PendingApproval to RequestChange.




Best Regards,
Hossein Karimi

Comments

*This post is locked for comments