This topic has not yet been rated - Rate this topic

Workflow with a conditional decision [AX 2012]

Updated: August 13, 2012

Applies To: Microsoft Dynamics AX 2012 R2

A conditional decision is a point at which a workflow divides into two branches. At that point, Microsoft Dynamics AX automatically decides which branch to use by evaluating the submitted document to determine whether it meets specified conditions.

To better understand how a document moves through a workflow that includes a conditional decision, review the following diagram. The diagram shows an example of a workflow that is used to post vendor invoices.

Workflow with a conditional decision

Assume that April has submitted a vendor invoice that totals USD 12,000. In the first step of this workflow, which is an automated task, Microsoft Dynamics AX reviews the policy rules for vendor invoices and identifies a policy rule that requires vendor invoices that total USD 10,000 or more to be approved before they are paid. In the next step of the workflow, which is the conditional decision, Microsoft Dynamics AX evaluates the submitted invoice against the policy rule. Because this vendor invoice is for USD 12,000, Microsoft Dynamics AX assigns it to Phyllis for approval. After Phyllis approves the invoice, Microsoft Dynamics AX automatically posts the invoice.

If April submits another vendor invoice that totals USD 9,000, Microsoft Dynamics AX reviews the policy rules and evaluates the invoice. In this scenario, the invoice does not require approval. Therefore, Microsoft Dynamics AX automatically posts it.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.