Workflow example 2: a conditional notification
Scenario: When a new purchase order line is added where the cost is more than $1000, a notification must be sent to your Inbox.
To create a workflow for this scenario:
- Open the New Workflow Wizard.
- In the Type of Workflow section, select Notify Me When.
- Click Next.
-
Specify this information:
- Description
- Specify Notify me when new PO line cost is > $1000.
- Apply To
- Select the PurchaseOrderLines form and click in the IDO field to display the SLPoItems IDO and Purchase Order Items caption.
- What to track
- Select Additions.
- Click Next.
-
In the Filters section, perform these actions:
- Select Where. The Purchase Order Items caption is displayed.
-
Select the DerExtItemCostConv property
from the drop-down list.
Note: The field label associated with the property is displayed in the drop-down list where possible, to help you find the property you want. In this case, DerExtItemCostConv has the field label Extended Cost, which is what you want to compare to your maximum amount.
- Specify > or the greater than operator.
- Specify 1000 or the value to compare to. Do not specify separators or currency symbols.
- Click Add This Clause to add your filter to the workflow.
- Click Finish to complete the workflow.
- To test the workflow, ask another user to add a new PO line for more than $1000. You should receive a notification in your Inbox.
Related topics