ApprovalElement Class

The ApprovalElement class is used to define an approval workflow element.

Namespace:  Microsoft.Dynamics.AX.Framework.Workflow.Model
Assembly:  Microsoft.Dynamics.AX.Framework.Workflow.Model (in Microsoft.Dynamics.AX.Framework.Workflow.Model.dll)

No code example is currently available or this language may not be supported.

An approval is a workflow element that is used to implement approval processes. An approval can have one or more steps associated with it.

For example, approval step 1 requires manager approval for all invoices; approval step 2 requires additional general manager approval if the invoice is over $10,000.

Approvals have a set of fixed outcomes that the workflow supports. These outcomes are as follows:

  • Approve - Outcome type is completed.

  • Reject - Outcome type is returned to the originator of the workflow.

  • Request Change - Outcome type requests change from the originator or another person in the workflow process.

  • Deny - Outcome type is denied.

The fixed outcomes listed cannot be deleted. However, you can use the allowed actions to enabled or disable the outcome for the approval element.

A final approver can be defined which will be involved in the approval process if and only if the originator of the workflow is also the sole approver.

A time limit before a workflow element must be completed can be defined by using a max runtime.

Notifications can be defined to notify users about the approval process.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: