Newer Version Available

This content describes an older version of this product. View Latest

Run Individual Batch Processes

You can run one batch process at a time.
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer editions

To start an individual batch process, use \bin\process.bat. The command-line requires the following parameters.

Configuration directory
The default is \conf.
To use an alternate directory, create a directory and add the following files to it.
  • If your process is not interactive, copy process-conf.xml from \samples\conf.
  • If your process requires database connectivity, copy database-conf.xml from \samples\conf.
  • Copy config.properties from \conf.
Process name
The name of the ProcessRunner bean from \samples\conf\process-conf.xml.

Process Example

1process ../conf accountMasterProcess

To view tips and instructions, add -help to the command contained in process.bat.

Note

You can configure external process launchers, such as the Windows XP Scheduled Task Wizard, to run processes on a schedule.

Note