This recipe demonstrates how to send an alert email using Schedule Designer.
- Create a composite datasource (Conditional-Alert.ds). Add Derivative and Filter into the composite datasource, as shown in the attached file.
- Create a job file (SalesAlert.job). Add and enable a parameter named “AlertValue”, with value equaling to 2000.
- Add a DataLoop under “SalesAlert.job” in the “Design” tab. Set its DataSource to be Conditional-Alert.ds. Set and enable a parameter named “AlertValue”, with value equaling to 2000.
- Add a SendMail element under “DataLoop” in the “Design” tab. Enter the send mail details.
When AlertValue meets the condition, relevant recipients will receive an alert email.
To download the necessary files for this recipe, refer to the attached ZIP package.
EmailAlert.zip (3.2 KB)