Process Life Cycle
The lifecycle of a process begins when the process is created and ends when it has reached a final status. The process goes through various stages, each illustrated by a status. The process that controls processes is called the dispatcher. The dispatcher assigns processes to Process Servers and Queues for execution and is responsible for the lifecycle of the process.
The order in which the dispatcher starts processes is defined as follows:
- Based on priority of the process (highest first).
- Based on the requested start time of the top level parent of the process (oldest first).
- Based on the requested start time of the process (oldest first).
- Based on the ID (lowest number first).
Gantt Chart
A Gantt chart column is available to display the progress of each process or Chain and its current status. To add this column to the Process Monitor, use the Column Chooser.
Warning: This feature is resource-intensive. Redwood recommends that you apply a filter first to narrow down the list of processes, and then show the column only for as long as you need it.
The colors used in the Gantt chart are as follows.
Color code | Description |
---|---|
Light gray | The process or Chain has not yet started or has reached status Canceled. |
Dark gray | The process or Chain has reached status Unknown. |
Green | The process or Chain has reached status Completed. |
Red | The process or Chain has reached status Error or Killed. |
Purple | For Chains only. The Chain is in status Waiting. |
Note: The Gantt chart uses process statistics for display. If process statistics are not available, the chart has stripes.
Third-Party Systems
Some processes represent workload performed in external third-party systems (for example, in an ERP system). In this case, the process start time in RunMyJobs is the time at which the Process Server sends the request to the external system. Consequently, third-party systems can have a slight delay in actual processing, which can be seen as a discrepancy between start time in RunMyJobs and start time in the remote system. The discrepancy depends on the on resource utilization and network connectivity in both RunMyJobs and the remote system. Other factors might also have an impact, depending on the architecture of your data center.