Standard Distribution
Once you have added one or more reports to your task and specified the output types you want, you need to tell DAS where to send the report results.This is configured within Distribution tab of the Task.
Note
Your DAS Administrator must setup a valid email provider first. For information on how to setup an email Provider, please consult the Data Access Studio Administration guide.
To | Do this |
---|---|
Send an email on task completion | Enter a valid email address (i.e. yourName@yourCompany.com) and email Provider. Separate multiple email addresses using a semi-colon (';'). |
Set the recipient list | Specify correctly formatted email addresses. |
Set the email Subject | Edit the subject to your email message. |
Set a custom email message | The email editor is a rich editor that allows text formatting for custom messages. |
Attach the report output to the email message | Default checked. Check the Attach Output checkbox to send the report output as an attachment to the email message. |
Set the output file name | Default is the report name with timestamp appended. If the name is not unique, the Automator will overwrite the existing file with the same name. |
Copy report outputs to a directory | Click the visual assist and select a valid output directory. TIP: If you want to update network resources, it is best to provide the Universal Naming Convention (UNC) path to the network resources (as opposed to shard drive letters). When your report runs, it will run on the DAS Web server. The path you enter here must be accessible from the DAS Web server. |
Encrypt the compressed attachment | If compression is enabled, then the Encrypt check box will be enabled. If you check this box, DAS will encrypt the ZIP file used to compress the output with your JDE password. To open the attached zip file, enter the JDE password of the task owner. |
Replace spaces in token values with underscores | Default checked. When checked, the Automator will replaces spaces in token values with underscores for tokens in the output file name and directory. If unchecked, the Automator will leave the token values as-is. |
Distribute the task output | Default Always distribute. Set the Always distribute checkbox if you want the task to distribute the task output regardless of whether the result is empty. You can set the Only distribute if not empty checkbox if you do not want any distribution when there are no report results. |
Tokens
Some tokens are specific to a report (report tokens) and therefore cannot be used in emails for multi-report tasks. As multi-report tasks can have the output for each report placed into different folders with different file names, tokens are always allowed in directories and file names.
Token | Report Token | Value |
---|---|---|
<TIMESTAMP> | false | The TIMESTAMP token is reevaluated before each report run. This means that in a single-report task, the value will be consistent if used in multiple places. |
<TODAY> | false | The TODAY token is reevaluated each time it is used, so the value may change if task execution begins directly before midnight. |
<NOW> | false | The NOW token is reevaluated each time it is used, so the value will be different every time. |
<UTCNOW> | false | The UTCNOW token is reevaluated each time it is used, so the value will be different every time. |
<USER> | false | User who is running the task |
<STATUS> | false | Success or Failure |
<TASK> | false | Task name |
<REPORT> | true | Name of the report added to the task |
Data tokens | true | When clicking Insert Token, this includes anything under the Data category. |
System tokens | false | Tokens beginning with SYS_USER. These are based on the signed in user's JDE system. |