Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

JS7 - Reports offer aggregated information about past execution of workflows and jobs.

Reports can be generated manually created using the JOC Cockpit Report view or automatically using a JITL Job in a workflow that is scheduled periodically Reports view. In addition, they can be created automatically using the JS7 - JITL RunReportJob Job Template. Users can create workflow and job using the Job Template that can be scheduled for begin of month.

JITL RunReportJob

The purpose of the RunReportJob Job Template is to generate to create reports that are defined with the Reports system folders in the report section of the configuration Configuration view.

  • Language:  java Java
  • Name of Java Class:   com.sos.jitl.jobs.runreports.RunReportJob
  • Documentation: JS7 - JITL RunReportJob

ParametersArguments

NameDescription
report_paths

List of paths pointing to the location of report configurations for which reports to should be generatedcreated

A list of report paths. The items are seperated Items in the list are separated by semicolon. All reports that are in the list Reports will be generated. Entries for reports that do not exist are ignored. When a report is listed twice, it will generated oncecreated for all list items. List items for non-existing report configurations will be ignored. If the same report configuration is specified more than once, then it will be used just once.

If both report_paths argument and report_folders argument are not used, then reports for all report configurations will be created.If neither report_paths nor report_folders is set, all reports are generated. 

report_folders

List of folders with reports to be generatedholding report configurations for which reports should be created

Items in the list are separated by semicolon. Reports will be created for all list items. List items for non-existing report configurations will be ignored. If the same report configuration is specified more than once, then it will be used just once. This can occur if a report configuration is found in the report_paths argument and in a folder specified by the report_folders argument.

Folders will be A list of folders that contain folder names. The items are seperated by semicolon. All reports found in the given folders will be generated. If a report is listed more than once, it is generated once. E.g .when a report is found in the list of report_paths and in a folder. A folder is processed recursively if the name ends with: /*

If neither both report_paths nor argument and report_folders is set, all reports are generated.

...

argument are not used, then reports for all report configurations will be created.

Adding a workflow to automate

...

Creation of Reports

Add a workflow and add a Create a new workflow and assign one job to the workflow. 

Specify the value for the agent to any available standalone agent or agent clusterAssign the job a Standalone Agent or Agent Cluster.

Image Modified



Open the wizard to assign the RunReport JITL - RunReportJob Job Template:

Image Modified


Click the "Submit Button" button. It is not necessary  required to configure parameters for the job arguments. The default behavior is to create all reports. 

Reports that have already been created Existing reports will not be created again.

Schedule

...

Creation of Reports

Create a schedule and assign the schedule to the workflow.  :

Image Modified


Assign the workflow:

Image Modified


Assign the run-timeSpecify start time settings. In this the following example the reports will be generated created on the first day of any month at 12:00:00:

Image ModifiedJS7 - JITL RunReportJob