...
- Double-click on the new file exporter icon on your model to open its properties.
- Tick the flag Enabled.
In the field File Name (Expr) enter the value:
Code Block "customerSummaryByRegion.txt"
In the field Output Directory (Expr) enter:
Code Block "customerReports/customerSummaryByRegion"
- Tick the flag Overwrite existing file
- Tick the flag Header
- Go to the Send By Email section, and set the following:
- Email from:
system@PhixFlow.com
- Subject Expression:
"Export of customerSummaryByRegion.txt at " + now()
- Message Expression:
"Please find file customerSummaryByRegion.txt attached. Generated at " + now()
- Attach File: tick
- Email from:
- Go to the User Recipients section and click
.Insert excerpt _new _new nopanel true - In the New User Notification Rule. properties that opens, set:
- Email As: To
- Click
.Insert excerpt _save _save nopanel true - In the Users section, click
to open a list of users.Insert excerpt _user _user nopanel true - Drag the user Train (the user you are currently logged in as) into the list of recipients.
- Save and close the notification rule. PhixFlow adds the user to the list of User Recipients.
In the file exporter configuration form, click
.Insert excerpt _finish _finish nopanel true Note The pipe to the file exporter is dotted to indicate that it is a Push pipe. When linking a table to a file exporter you must always use a push pipe. This is because you cannot run a file exporter on its own; it must always be driven from a table. Otherwise, it has no data to process
- Run analysis on the table
Customer Summary by Region
- Check the log messages generated in the console
→Insert excerpt _administration _administration nopanel true
(– in particular scroll to the end; you should see messages telling you that a file has been exportedInsert excerpt _console _console nopanel true - Now find your file - you should have received an email with the file attached.
- The file has also been exported to the PhixFlow server.