You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Introduction

Reports can be generated manually using the JOC Cockpit Report view or automatically using a JITL Job in a workflow that is scheduled periodically.

JITL RunReportJob

The purpose of the RunReportJob is to generate reports that are defined in the report section of the configuration view.

  • Language: java
  • Name of Java Class: com.sos.jitl.jobs.runreports.RunReportJob

Parameters

NameDescription
report_paths

List of reports to be generated

A list of report paths. The items are seperated by semicolon. All reports that are in the list will be generated. Entries for reports that do not exist are ignored. When a report is listed twice, it will generated once

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

report_folders

List of folders with reports to be generated

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 report_paths nor report_folders is set, all reports are generated.


Creating a workflow to automate the report generation

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

Specify the value for the agent to any available standalone agent or agent cluster.




Open the wizard to assign the RunReport JITL-Job



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

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

Schedule Report generation

Create a schedule and assign the schedule to the workflow.  


Assign the workflow



Assign the run-time. In this example the reports will be generated the first day of any month at 12:00:00






JS7 - JITL RunReportJob 

  • No labels