User Guide : Designing and Executing Processes : Validating and Running Processes : Running the Process
 
Share this page                  
Running the Process
After validating the process, click /download/attachments/24976276/Map_Run.png?version=1&modificationDate=1490826089046&api=v2 to run the process. The Process Execution dialog box displays the progress of the process execution. If the file is not long, then this dialog box displays only for a few seconds. Click Run in background to run the process in the background. Click Details to view the execution details. At any time, click /download/attachments/24976276/Abort_Run.png?version=1&modificationDate=1490024973693&api=v2 to stop the execution.
You can run only one process at a time. The /download/attachments/24975559/Map_Run.png?version=1&modificationDate=1487965305249&api=v2 icon is disabled until the run completes.
Also, if two editors are open (such as map and process) and if a process is running, you cannot run a map until the process run is completed.
If the run is successful, the Results tab and the Logs tab display the following information:
Results tab: Provides the status of each step as it executes. The following information is displayed:
Time
Step name
Status
Message
For disabled steps, the Results tab indicates the step as "Skipped".
Logs tab: Displays the execution details after the process runs. It contains error codes to help you identify and understand the cause of errors. The following information is displayed:
Time
Severity
Error Code
Global
Description
You can search the Results and the Log records using the Search text box. The searched text is highlighted. You can sort the log entries by clicking on the Date column header.
If the run is unsuccessful, then the Problems tab displays the list of errors, warnings, and other issues.
 
Debugging Process
You can debug a process based on the breakpoints set for the steps. Breakpoints allows you to pause the execution of a process so that you can check the state at a given point and verify the design behavior. It provides insights into design problems and failures.
Note:  Break points are enabled when processes are run from the Studio IDE only. They are not considered during engine runtime.
When you enable the debug option for a step, the process execution pauses prior to step execution and displays the values of the associated variables and properties of DJMessages. After viewing these values and properties, you can continue process execution from the paused step or abort the process execution.
Note:  You cannot debug Start, Stop, Annotation, and Decision steps.
To enable or disable debug option for step(s):
1. On Step Builder Canvas, right-click the step that you want to debug during process execution and select Enable Debug.
A small icon is displayed at the corner of the step to indicate that the debug option is enabled for the step.
Note:  You cannot enable debug option for a disabled step.
To disable debug option for a step, right-click on the required step and select Disable Debug. The small icon does not appear at the corner of the step.
To enable debug option for multiple steps at once, press and hold the Ctrl key and click on the required steps. Right-click and select Enable/Disable Debug on Step(s). The debug option is enabled for the selected steps.
2. Click /download/attachments/24976276/Map_Run.png?version=1&modificationDate=1490826089046&api=v2 to run the process.
The process execution is paused at the step for which debug was enabled and the Paused at <stepname > window displays the associated global variables with values. Currently, only Variant and DJMessage variables are supported.
3. In the left pane, click the variable to view the associated values.
4. Click Continue to proceed with process execution or click Abort to end the process execution.