Workflow Approval Extensions
A Workflow Approval Extension (AxWorkflowApprovalExtension) modifies an existing workflow approval without altering its original definition. Approval extensions allow you to modify properties on existing approval outcomes.
Approval extensions are created by right-clicking a workflow approval in the AOT and selecting Create extension. This creates an AxWorkflowApprovalExtension object named <OriginalApprovalName>.<YourModelName> in your model.
What Can Be Extended
| Capability | Description |
|---|---|
| Modify Outcome Properties | Change properties on existing approval outcomes via WorkflowApprovalOutcomeModifications. |
| Modify Properties | Change property values on the approval via PropertyModifications. |
note
Approval extensions are more limited than task extensions — you cannot add new outcomes to an approval. Approvals have a fixed set of outcomes (Approve, Reject, Delegate, Request Change). You can only modify the properties of these existing outcomes.
Best Practices
- Use outcome modifications sparingly — changing standard approval outcome labels or behaviour can confuse users accustomed to the standard workflow.
- Document the business reason for any property modifications.
Properties
| Property | Display Name | Type | Description |
|---|---|---|---|
| Approval ExtensionAxWorkflowApprovalExtension | |||
| Name | Name | String | The name of the extension element (follows BaseApproval.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. |