Events for Task Indicator
Task events can be configured after installing the ActiveX Task List to provide more information regarding the status of the Task Indicator. Task event information can be displayed to users if a feedback message event is part of the event's configuration.
Task Events
All the task level events expose the task ID and display name with the event. The Task Indicator registers to the Workflow TaskInstanceChangedEvent for task level events.
Property | Parameters | Description |
---|---|---|
NewTask | string taskId, string taskName | Starts a new task. Return type: void. |
TaskExpired | string taskId, string taskName | Event fires when a task that is already in your ActiveX Task List expires. It also fires when a new task is added to your list that is already expired, or has task steps assigned to you that are already expired. Return type: void. |
NewFeedbackMessage | string messageType, string messageString | Displays feedback messages to users. The event is triggered when there is a new message. Return type: void. |
Important: Validation errors are only raised through the NewFeedbackMessage event on the ActiveX Task List. All other feedback messages related to the Task Indicator, such as a task instance termination message, can be displayed through the Task Indicator.
Other Task Events
Property | Value | Description |
---|---|---|
TaskListIndicatorClick | User-defined | Triggered when a user clicks the connected and active Task Indicator. Return type: void. |
ConnectionLost | User-defined | Triggered when the server connection is lost. Return type: void. |
ConnectionRestored | User-defined | Triggered when the server connection is restored. Return type: void. |
ConnectResult | User-defined | Triggered when the server connection finishes and the result is passed back as an event parameter. Return type: void. |