Batch Processes

A batch process is an execution of a series of programs or jobs. Jobs are configured to be run to be completed with minimum human intervention.

Scheduling batch processes

To ensure that all contract events, contract status changes, and renewable lines are processed on the date that they are scheduled for a change of state, schedule processes to run daily after midnight (adjusted to the actual server time zone). You can schedule the process to run at 1:00 AM. Specify a time before users start using Emptoris® Contract Management or before the running of scheduled reports.

Even if scheduled quote generation is disabled, you can run it on demand.

List of batch processes

You can schedule the following batch processes.

Table 1. Batch Processes
Process Description
Contract Status Update Changes the status of executed contracts with the following date.
  • Status of the contracts with the start date of today or earlier is changed to Active.
  • Status of the contracts with the end date of today or earlier is changed to Expired.
Event Notification Issues contract event notifications and closes completed events.
Task Delegation Delegates tasks according to the settings in the Task Delegation rule.
Quote Generation Generates renewal quote contracts and issues accompanying notifications that are set up in the Quote Generation feature. Issues notifications as configured in the Notification Rules feature.
Contract Data Export to CSV Exports contract data in CSV format. This process is used to create CSV files for use with IBM® Emptoris Spend Analysis.

This process exports the following CSV files.

  • CUBE_CONTRACTS_RV
  • CUBE_TERMS_RV
  • CUSTOM_ PROPERTIES_RV
  • CONTRACT_LINES_NS_RV

The CSV file contains rows of database views. The latest versions of almost all contracts in the system are exported without any date management.

Path to store exported CSV files can be specified for the csvwriter.filePath property in the ecm.properties file. The file is located at $EMPTORIS_HOME/config/.

The default value of this property is C:/tmp/csv.

Keyword Search Index Update Updates indexes for contracts, contract templates, clause templates, and notification templates for keyword search.
Job Clean up Removes all jobs from the database whose end time is older than a configured value in days. The default value is seven days. The configuration parameter that determines the value is called job.expiration.days and is available in the quartz.properties file.
Contract Deletion Deletes all contracts from the database for which the deletion date reaches the configured value.
Purge Process Purges the following data:
  • Contract Revision History and Comments after a contract is executed based on the Purge Operation Settings in the System Settings > Negotiation Settings tab.
  • All Alerts from the Alerts widget that are older than 180 days.