...
- In the left-hand menu bar press - Show the list of Task Plans
- Press
- In the Task Plan details form that pops up:
- Enter the Name: Run Customer Details Model
- Tick the flag Enabled
- Press - Apply
- In the Tasks section of the form, press
- From the drop-down menu choose Analysis Task
- In the Analysis Task Details form that pops up:
- Enter the Name: Run Customer Summary by Region
- Press Apply
- Go to the tab Streams/Alarm Generators
- Open the model Introduction to Modelling
- Find the Stream Customer Summary by Region
- If this has hidden the task configuration form, bring it back up – remember to use the task bar at the bottom of the PhixFlow application to find it
- Hold down the Shift key on your keyboard, select the Stream Customer Summary by Region on the model and drag it into the task
- Press
- In the main Task Plan details form go to the Send Results By Email tab
- Enter the following:
- Email from: system@PhixFlow.com
- Subject Expression:
Code Block |
---|
"Result of Run Customer Details Model at " + now() |
- Message Expression:
Code Block |
---|
"Result of Run Customer Details Model at " + now() + ": Messages: " + _messages + "; Warnings: " + _warnings + "; Errors: " + _errors |
- Go to the User Recipients tab
- Drag the user Train (the user you are currently logged in as) into the list of recipients
- In the main Task Plan details form press
- Right-click on your Task Plan and select Start
- You will receive another email from the export of the customer summary, and an email with the status of the task plan run
...