Workflow elements [AX 2012]
Updated: February 1, 2013
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
A workflow consists of elements. The following sections describe each type of element.
A task is a unit of work that must be performed. There are two types of tasks that can be added to a workflow: a manual task or an automated task.
A manual task is a unit of work that must be performed by a user. For example, an expense report workflow may have manual tasks that require the assigned users to:
Review the receipts that are submitted with an expense report.
Call an employee's manager.
An automated task is a unit of work that must be performed by the system. It requires no human interaction. For example, a sales order workflow may have automated tasks that require the system to:
Perform a credit check.
Create a customer record for the customer, if one does not already exist.
An approval process is a process that consists of separate steps. At each approval step, the user can:
Approve the document.
Reject the document.
Request a change to the document.
Assign the document to another user for approval.
For information about how to configure an approval process and the steps within it, see Configure an approval process and Configure an approval step. To see an example workflow that uses an approval process, see Workflow with multiple users in an approval step.
A workflow can be created to process documents, or the line items on a document. For example, assume that you have created an approval workflow for timesheets. (We will refer to this workflow as the document workflow.) You can add a line-item workflow element to that document workflow. When the line-item element is executed, each line item on the document is submitted for processing. You may want all of the line items to be processed by the same line-item workflow, or you may want each line item to be processed by a different line-item workflow.
Suppose that an employee has submitted a timesheet that resembles the following figure.
In this scenario, you may want to create the following line-item workflows:
Line-item workflow 1 – This workflow is used to process line items where the project ID = 1111.
Line-item workflow 2 – This workflow is used to process line items where the project ID = 2222.
Line-item workflow 3 – This workflow is used to process line items where the project ID = 3333.
For information about how to configure line-item workflow elements, see Configure a line-item workflow. To see an example workflow that uses a line-item workflow element, see Workflow with a line-item workflow element.
The following elements enable you to design workflows that have alternate branches or branches that run at the same time.
A manual decision is a point at which a workflow divides into two branches. A user must make a decision, and this decision determines which branch is used to process the document that was submitted.
A conditional decision is a point at which a workflow divides into two branches. The system decides which branch to use by evaluating the submitted document to determine whether it meets specified conditions.
For information about how to configure a conditional decision, see Configure a conditional decision. To see an example workflow that uses a conditional decision, see Workflow with a conditional decision.
A parallel activity is a workflow element that includes two or more workflow branches that run at the same time.
For information about how to configure a parallel activity, see Configure a parallel activity.
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).