When doing development work a large portion of time can be spent waiting for large numbers of objects or large tables to finish processing before further development can be done. With the Execution Queue, the developer can continue working with the project while the JDM is silently executing the requested objects in the background.
Opening the Execution Queue Window
Navigate to the Project ribbon tab, locate the Development group and click on Execution Queue to open the Execution Queue window.
Adding Objects to the Execution Queue
Adding an object to the Execution Queue is a simple drag-and-drop operation.
1. Click and hold the left mouse button on a table or an execution package, drag it to the Execution Queue window and let go of the mouse button.
2. A dialog appears to let you choose which execution steps from the object to add to the queue.
Select Add all steps or Add selected steps and choose which steps you would like to add to the queue. Click Add to add the object to the queue.
3. The object is now listed in the Queued list of the Execution Queue. If there is no other items in the queue, the object will be moved to In Progress and begin executing immediately.
Working with the Execution Queue
Pausing and Running the Queue
The Execution Queued mode can be toggled between Running and Paused using the button in the top right corner of the window. When the queue is running, the button is called Pause . Clicking the button prevents further objects from being executed and changes the button text to Resume . Pressing Pause does not stop an object that is currently in progress. Pressing the Resume button resumes executing of the queue.
Moving and Removing Queued Items
The Queued list shows the items waiting to be executed.
The queued objects can be moved up and down in the list by selecting the item and using the Move up and Move down buttons. The top item in the list is the next to be executed.
An object can be removed from list by selecting it and clicking Remove . Clicking Clear removes all items from the list.
Stopping Current Execution
In Progress shows the object currently being executed. Pressing Stop halts the execution of the object and pauses execution of the queue.
Removing Executed Items and Viewing Errors
The Completed list shows the objects that have been executed. It lists the Status of the individual items, the Duration and the Start Time . The items can have one of three statuses:
• Success means that the object was executed without errors.
• Failed means that the execution was ended prematurely by an error.
• Stopped means that the execution was stopped by the user before it completed.
You can view error messages for failed objects by selecting it in the list and clicking View Error . This brings up a message box displaying the error message.
Closing the Execution Queue Window
You can close the Execution Queue window by clicking the "X" in the top right corner.
Closing the Execution Queue window or closing the entire project does not stop or pause the execution of the queued objects. It only hides the window, while the Execution Queue will continue working in the background. You can open the Execution Queue window again to review the status of the objects in the queue or to add more objects to the queue.