Versions Compared

Key

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

...

Service agents uses multiple threads and also can be deployed to any number of hardware instances to perform parallel execution. Jobs are executed in order of priority and a single service agent can complete 600 job per minute for basic workflow operations. This number is highly depends on job definition and hardware specifications.

Job

...

Details

Each job has following properties;

Type
Type of job. 

Created At
Date and time of job is created.

Delete After
Date and time of job to delete.

Started At
Start date and time of job.

Completed At
Completion date and time of job.

Duration
Duration of execution if job is completed or duration of wait time in queue.

Score
Calculated priority score. This value is calculated from job type priority and workflow instance priority.

State
State of job. Can be one of following values; Waiting, Processing, Error, Completed, Aborted.

State Transition

Every job is created in "Waiting" state.

When a service agent pulls the job from queue, agent is locks the job and changes to "Processing" state.

If job is completed successfully state changes to "Completed".

If job is generates an error, state changes to "Error" and system administrator is notified. Some of job errors are automatically handled. For example e-mail sending job errors are ignored and re-scheduled and state changes to "Waiting" to try again later. If maximum try count limit exceeded state is changed to "Error" or "Aborted" by configuration settings.

For "Aborted" and "Completed" states job is automatically deleted from system if "Delete After" date is passed.

Image Added

 

Job Log

Each job contains a log about detailed information whats is performed in background. Each log line has a in log level like Debug,Information,Warning,Error.

Image Added

Job Types

Workflow Jobs

Scheduled Task

...