ApprovalElement Class
The ApprovalElement class is used to define an approval workflow element.
Assembly: Microsoft.Dynamics.AX.Framework.Workflow.Model (in Microsoft.Dynamics.AX.Framework.Workflow.Model.dll)
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.
Microsoft.Dynamics.AX.Framework.MetaModel.ModelElement
Microsoft.Dynamics.AX.Framework.MetaModel.DesignElement
Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowElement
Microsoft.Dynamics.AX.Framework.Workflow.Model.InteractiveTask
Microsoft.Dynamics.AX.Framework.Workflow.Model.ApprovalElement