Job Status

Jobs have different status. Each status has a code.

The following table lists the status values of jobs.

Table 1. Job status
Job Status Description
Pending The job is scheduled to run.
Running The job is running.
Canceled The job is canceled by the user. The job can be rescheduled. When a job is rescheduled, the entire batch job is run.
Error The job failed to run. The job can be rescheduled. When a job is rescheduled, the entire batch job is run.

For example, you might not have permission to create contracts and so the createContract job failed to run. When the administrator grants the appropriate permission, you can reschedule the job. When rescheduled, the status is changed back to Pending.

Completed The job is completed.

For example, in case of createMassAmendments job, if any or all of the amendments are not created, the job status still displays Completed.