Skip to main content

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

CapabilityDescription
Add OutcomesAdd new custom outcomes (action buttons) to the task.
Modify Outcome PropertiesChange properties on existing outcomes via WorkflowOutcomeModifications.
Modify PropertiesChange 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

4/4 properties
PropertyDisplay NameTypeDescription
Task ExtensionAxWorkflowTaskExtension
NameNameStringThe name of the extension element (follows BaseTask.Package naming).
IsObsoleteIs ObsoleteNoYesWhether the extension is deprecated. Values: No (0), Yes (1).
VisibilityVisibilityCompilerVisibilityAccess level visibility. Values: Private (0), Protected (1), Public (2), Internal (3), InternalProtected (4).
TagsTagsStringTags for this element separated by semicolon.