Workflow example 3: a time conditional notification
Scenario: When a PO line change occurs and the Promise Date is later than the Due Date, 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 one of these options:
- Notify Me When: Select this option to receive a notification in your application Inbox form when the change you specify in the following pages is made to the system.
- Notify You When: Select this option if the person who makes the specified change should receive a notification in his or her application Inbox form.
- Build from Scratch: Select this option and click Finish to exit the workbench and use the standard Application Event System (AES) forms to build the workflow.
- Click Next.
-
Specify this information:
- Description
- Specify a description of the workflow. You can change the description on later pages.
- Apply To
- Specify the IDO or the form, or both, that you
want the system to track. You must identify the IDO.
You can further restrict the triggering condition by specifying the form where the changes are made.
- If you know the form but not the IDO, select a form name and then click in the IDO field. The IDO is automatically filled in.
- If you specify an IDO name, and you want the workflow to apply to all forms that use that IDO, you can either leave the Form field blank or select All Forms.
- If you want the workflow to apply to all IDOs associated with the specified form, select All IDOs.
- What to track
- Select Changes.
-
In the Filters section, perform these actions:
- Select Where. The Purchase Order Items caption is displayed.
- Select the PromiseDate property from the drop-down list.
- Specify the Is after operator.
- Specify PurchaseOrderItems.DueDate or other property to compare to.
- Click Add This Clause to add your filter to the workflow.
- Optionally, select Customize Resulting Workflow to open the event handler you created in the standard AES forms. This option is enabled only if you selected one of the notify options in the Type of Workflow section.
- Click Finish to complete the workflow.
- Test the workflow.
Related topics