Schedule Automatic Execution of a Pharma Report
- System Manager is in Engineering mode.
- In System Browser, select Application View.
- Select Applications > Logics > Reactions.
- In the Reaction Editor tab, open the Output expander, and then open the Action expander.
- From the Links folder, drag the link to the Scope/Target area.
- Select the newly added instruction row, and do the following:
- To send the report as an email, in the Command drop-down list, select Email [SendEmailExecute].
- To send the report to a folder, in the Command drop-down list, select Execute [WebAppExecute].
- In the File Extension drop-down list, select the format of the file. The value specified in this field must be the same as the P2 parameter value specified in the Extended Operations tab. For example, if you have specified PDF as the P2 parameter value, then you must select PDF as the file extension in this field.
- In the File Name field, enter the file name of the report output file.
- (Optional) In the File Path field, enter the location to save the report output file. For example, C:\Projects\NewReports.
NOTE: If you specify the location, the report is saved to this location and will also be sent as an email attachment.
- In the Section drop-down list, select Save Document [1].
- In the TimeStamp field, specify the timestamp format that is to be appended to the file name—for example, dd-MM-yyyy.hhmmss.
- Open the Triggers expander, and then open the Time and Organization Mode expander.
- Enter the date and time you want the report to run.
- Click Save As .
- The Save Object As dialog box displays.
- Enter a name and description, and then click OK.
- Depending on the value specified in the Command drop-down list, the report runs at the date and time specified in the reaction and is either sent as an attachment to the configured email recipients or to the report output folder specified in the File Path field.