Prev | Next |
The Job Queue Window
The Job Queue window streamlines the process of working with Analyzer Scripts, which originally were worked on individually and if no other script was being executed. In versions of Enterprise Architect from Release 16.0 onwards, when an Analyzer Script context menu option is executed (for example, 'Build') it is placed in a job queue; multiple jobs can be queued, and other work performed while the jobs are processed.
The name of the Analyzer Script is used as the name of the job. An Analyzer Script can have multiple sections, such as Build, Test, Run and Deploy, and each section is assigned as a task of the job.
![](../images/job-queue-0.png)
The output from each job executed from the Job Queue window is captured to the 'Job History' tab in the System Output window.
Access
Ribbon |
Execute > Tools > Analyzer > View Job Queue Start > All Windows > Design > Explore > System > Job History |
Job Queue Columns
Column |
Description |
See also |
---|---|---|
Name |
The name of the Analyzer Script for which the job has been added to the Job Queue. If the job has been executed, the name will have a tick(for successful completion) or exclamation mark (for failure) in front of it. |
|
Task |
The section of the Analyzer Script that the job is executing - for example, Build or Deploy. |
|
Status |
The completion status of the job - whether the job completed successfully ('OK') or failed. |
|
Errors |
If the job has been executed and failed, the number of errors that arose. |
|
Completed |
The date and time at which the job completed. |
|
Host |
If the job is run remotely, the IP address or host name of the remote machine. |
|
Recvd |
If the job is run remotely, any return message from the host machine. |
Context Menu Options
Right-click on a job name, or on the background of the window, to display the 'Job Queue' context menu.
![](../images/job-queue3.png)
Option |
Description |
See also |
---|---|---|
View Log |
Select this option to display the 'Job History' tab of the System Output window, for a job that has been executed. |
|
Cancel Job |
Right-click on a job name and click on this option, as necessary and at any time, to cancel the selected JavaScript task. The cancellation is indicated in the Job Queue window by a 'no entry' icon next to the job name. ![]() In the 'Job History' tab of the System Output window, the output is terminated with a 'Script Cancelled' message. ![]() |
|
Delete Job |
Click on a job that has not yet started and select this option to remove it from the Job Queue. |
|
Re-Run Job |
Select this option to execute the selected completed job again. |
|
Re-Run Selected Jobs |
( on a number of required jobs.) Select this option to execute all the selected completed jobs again. |
|
Re-Run Completed Jobs |
Select this option to execute all the completed jobs in the current list again. |
The Job History Tab
The output from each job executed from the Job Queue window is captured to the 'Job History' tab in the System Output window. From there, any job log can be viewed at your discretion, by selecting it from the drop-down list in the toolbar. If the job has failed and there are error messages, you can skip from message to message using the red arrow icons. These icons are disabled if there are no active error messages.
![](../images/job-history.png)
Job Queue Toolbar Options
Option |
Description |
See also |
---|---|---|
![]() |
Click on a job name and click on this icon to pause or resume the selected job. |
|
![]() |
Click on a job name and on one of these two arrows to move the job up or down in the job queue, making it earlier or later in the order of processing. |
|
![]() |
Click on a job name for a job that has not yet started, and on this icon to delete that job from the Job Queue window. |
|
![]() |
Click on the up or down arrow to set the number of jobs that can run concurrently, up to a maximum of 8. The count defaults to 1 so that the Job Queue will process jobs one at a time, First In First Out. |