Exercise 8: Create a Batch Job
As an administrator you need to create a batch job, which is a group of tasks that are submitted to an Application Object Server (AOS) instance for automatic processing.
Task 1: Create the batch job
-
Select Modules from the left navigation bar.
-
In the System administration module, go to Inquiries > Batch jobs.
-
Select +New.
-
In the Job description field, enter
My Batch Job
-
In the Scheduled start date/time field, enter today’s date.
-
-
Select Save.
Task 2: Create a recurrence
-
In the menu bar pane, select Batch job > Recurrence in the legacy form, or Recurrence in the enhanced form.
- Use these options to enter a range and pattern for the recurrence desired. For example, select daily by choosing a pattern of Days and an interval of 1.
-
Select OK.
Task 3: Add alerts
-
In the action pane, select Batch job > Alerts in the legacy form, or Alerts in the enhanced form.
- Indicate if you want alert messages sent when the batch job ends, has an error, or is canceled. Specify if you want the alerts to be displayed as pop-up messages or emailed.
-
Select OK.
Task 4: Copy a batch job
-
Select Modules from the left navigation bar.
-
In the System administration module, go to Inquiries > Batch jobs.
-
Select the job that you want to copy, and in the action pane, select Batch Job > Copy batch job in the legacy form, or Copy batch job in the enhanced form.
-
Enter or add any changes. If you set View tasks to Yes, when you select OK you will go directly to the Batch tasks page for the copied job.
- The copied batch job will be created with a Withhold status, so you will need to enable it. The Run by user can also be set to give this user the privilege to run the job without being a system administrator.
Task 5: Enable the batch job
-
On the Batch job page, in the action pane, select Batch job > Change status in the legacy form, or Change status in the enhanced form.
-
Select the Waiting status, and then select OK.
Task 6: Set up active periods for batch jobs
-
Select Modules from the left navigation bar.
-
In the System administration module, go to Setup > Active periods for batch jobs.
-
Select + New.
-
Enter a new period code, for example Night, the name of the period, and specify start and end times that the batch period is active.
-
Select Save.
Task 7: Assign active periods to batch jobs
-
Select Modules from the left navigation bar.
-
In the System administration module, go to Inquiries > Batch jobs.
-
Select the batch job that you want to assign a period to and select Edit.
-
In the Active period field, select the active period that you want to assign, and then select Save.
Task 8: Assign the Batch manager role to a user
-
Select Modules from the left navigation bar.
-
In the System administration module, go to Security > Assign users to roles.
-
Select Batch Job Manager and under Users assigned to role, select Manually assign / exclude users.
-
Choose a user from the list, and then select Assign to role.
-
Close the page.