Editing Schedules

The Edit Schedule dialog consists of five tabs that allow you to configure various aspects of the schedule.

The Test button at the bottom of the Edit Schedule dialog allows you to test execution of the schedule at any time. Clicking Test executes all configured tasks for the schedule immediately, using your own permission settings.

Warning: If you have configured the Email task for a schedule, please be certain that you intend to send the test output to the recipient(s) specified in the To field. If you are testing a production schedule, you may wish to replace the list of recipients with your own email address.

Schedule Permissions

If a "Run As" user has been specified in MAPS for this schedule or if a system-level user has been specified for running all schedules, when the schedule runs it will execute as the designated user instead of as your own user. This user may have different permissions for the database than you do. You should contact your institution's MAPS administrator if you have a question regarding schedule permissions.

See also:

General

The Edit Schedule dialog with the General tab selected. Within this tab you can enter the name of the Schedule, specify if the schedule is active, and whether to delete schedule after the final run.

The General tab allows you to give the schedule a name, make the schedule active, and specify if this schedule is to be deleted after it runs for the last time (if a last date is specified).

If the Active box is not checked, this schedule will never execute. If you are still testing a schedule, you may wish to uncheck this box while it is in development.

Note: It is very important to give your schedule a descriptive name. As multiple schedules are put into production, it becomes very difficult to administer them in MAPS if they all have the same name.

Schedule

The Edit Schedule dialog with the Schedule tab selected.  Within the tab the next scheduled run date, frequency, and days of week the schedule can run on are entered. A button for testing the schedule also exists.

The Schedule tab allows you to control when a schedule will run:

Tasks

The Edit Schedule dialog with the Tasks tab selected.  Within this tab you select the desired tasks which includes bursting, copy file, delete file, report execution, process and save, and run application.

The Tasks tab allows you to control the events performed during execution of a schedule. The Execute the report and Process and save tasks are added by default since they are required in order for the schedule to do anything. The following tasks are available:

Available Tasks Description
Bursting Bursting allows you to separate out the report into several individual reports.
Copy file Copies the output file from the schedule to a location on the network.
Delete file Delete a file from a location on the network.
Execute the report Brings up the parameter entry form so you can select the parameters needed for the execution of the report (if necessary).
FTP file FTP the report results to a specified destination.
Process and save Choose the output format for the report. You can choose from the following options:
  • Print the report
  • Save it as a .PDF
  • Save it as a .XLS
  • Save it as a .RTF
  • Save it as a .TXT

Run application Execute an application such as a batch file.
Save execution state Save the data as it was at the time the report was run so that it can be reproduced exactly as it was at that time. When you run the report, you will be prompted to select which saved execution state you would like to use. You can manage the Saved Execution States when you edit the report.
Send an Email Send an email and distribute the report to other users. The report will be sent out in the output type selected in the Process and save task.

Tasks execute in the order specified, from top to bottom. To add a task from the Available tasks, double-click the task, or select the task and click the Add button.  After entering the configuration details for that task, it will appear in the Added tasks list and will execute when the schedule runs.

Events

The Edit Schedule dialog with the Events tab selected.  Within the Events tab you can specify  events that will occur upon sucess or failure of the schedule.

The Events tab allows you to specify an event to perform upon success or failure of a scheduled report.  You can either send an email or do nothing for each condition. When opting to send an email, use the Configure button to configure the email.

API

The Edit Schedule dialog with the API tab selected. Within this tab you enter the Schedule Unique Identifier, user name and password.  Sample POST and Sample GET buttons can be used to obtain sample html POST and GET statements.

The API (Application Programming Interface) tab allows Argos administrators to make a report accessible via the Argos API. The information on this tab is only visible to administrators. An API accessible report can be called without having to log into Argos. The call can be made from a web page, portal or other 3rd-party application. Note that a MAPS administrator must specifically identify the servers that are permitted to make API calls to Argos. This is performed in the MAPS Config on the HTTP Referrers screen.

API calls can use a variety of techniques to authenticate users. One option is to pass the username and password on the API call. Another option is to enter the username and password on this form (password only required if user is LDAP).

For more information, please refer to the Argos API page.

Option Description
Make this report accessible to API Set this checkbox to make this report API accessible. Once the checkbox is marked, MAPS will generate a Report Unique Identifier for the report.
Password If the default user is an LDAP user, you must assign a password here or pass in the password via the API call.
Report Unique Identifier Identifies the report. This will be one of the parameters passed in an API call to MAPS. If the report or the DataBlock are moved or copied, a new Report Unique Identifier will need to be generated.
Sample GET Clicking on the Sample GET button will copy an example of the HTML GET code to the clipboard that can then be placed in a web page.
Sample POST Clicking on the Sample POST button will generate an example of the HTML POST Form in its simplest form. POST forms can also be created to have checkboxes, listboxes, drop down boxes and other controls. The API call in POST form will be copied into your Windows clipboard for later use.
User Name A default username and password for this report may be defined here. If there is a username and password that is passed in via the GET, POST form, it will override the username and password entered here.

Copying Schedules

You can copy a schedule within a report, or from one report or DataBlock to another. Copying a schedule preserves all of that schedule's settings, with the exception of the "Active" checkbox and the API settings.

When copying a schedule to a different report or DataBlock, it is very important to verify that all of the settings are still correct under the new location. In particular, if you copy a schedule from one report type to another, you may need to edit the various tasks to make sure any generated files have the correct file extension. For example, when copying a schedule from a banded report to a CSV report, you will need to adjust the file extension in the "Send an Email" task from .pdf to .csv.

Similarly, if you copy a schedule from one DataBlock to another you may need to edit the "Execute the report" task to use parameters from the new DataBlock.