Event Listener Operations
The following list summarizes Event Listener API operations:
cim1265
The following list summarizes Event Listener API operations:
- Perform Pre-Approval Attribute Updates
- Called by before a workflow process begins, or before the automatic approval of an event that is not associated with a workflow process
- Operates on events
- Method called: before()
- Object updates:
- The run-time instance of the managed object in an event.
- Data store objects, through the providers. No events are generated for these updates, so any workflow approval, auditing, and security checks are bypassed.
- Cannot validate
- Perform Pre-Execution Attribute Updates
- Called by after a workflow-controlled event is approved or rejected. If the event is not associated with a workflow process, approval is automatic
- Operates on events
- Methods called: approved() rejected()
- Object updates:
- The run-time instance of the managed object in an event.
- Data store objects, through the providers. No events are generated for these updates, so any workflow approval, auditing, and security checks are bypassed.
- Cannot validate
- Perform Post-Execution OperationsThe Post-Execution operations are called in the following two states:
- Post-Successful-Execution
- Called by after the event is executed
- Operates on events
- Method called: after()
- Object update only through the providers
- Cannot validate
- Post-Failed-ExecutionCalled by after the event failed to be executedOperates on eventsMethod called: failed()Object update only through the providersCannot validate