Workflow Task Extensions
A Workflow Task Extension (AxWorkflowTaskExtension) modifies an existing workflow task without altering its original definition. Task extensions allow you to add new custom outcomes and modify properties on existing outcome definitions.
Task extensions are created by right-clicking a workflow task in the AOT and selecting Create extension. This creates an AxWorkflowTaskExtension object named <OriginalTaskName>.<YourModelName> in your model.
What Can Be Extended
| Capability | Description |
|---|---|
| Add Outcomes | Add new custom outcomes (action buttons) to the task. |
| Modify Outcome Properties | Change properties on existing outcomes via WorkflowOutcomeModifications. |
| Modify Properties | Change property values on the task via PropertyModifications. |
Best Practices
- Use clear, action-oriented labels for custom outcomes (e.g., "Escalate to Manager", "Request Additional Info").
- Implement outcome event handlers for each new outcome to define the business logic that executes when the user selects it.
- Test outcome visibility in the workflow editor to ensure custom outcomes appear correctly.
Properties
| Property | Display Name | Type | Description |
|---|---|---|---|
| Task ExtensionAxWorkflowTaskExtension | |||
| Name | Name | String | The name of the extension element (follows BaseTask.Package naming). |
| IsObsolete | Is Obsolete | NoYes | Whether the extension is deprecated. Values: No (0), Yes (1). |
| Visibility | Visibility | CompilerVisibility | Access level visibility. Values: Private (0), Protected (1), Public (2), Internal (3), InternalProtected (4). |
| Tags | Tags | String | Tags for this element separated by semicolon. |