Versions Compared

Key

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

The JS7 - Fork / Join Instruction is used to execute the jobs in parallel within a workflow. Fork instruction allows the creation of a parallel number of branches and processes any further instructions and jobs. Branches allow to include any number of instruction and jobs. When an order is executed in a workflow the all the child process first competed in the execution and after the successful execution of the child process, the parent process will complete the task.

jdForkNested contains the nested branches in a workflow and with every branch multiples jobs are added to execute the nested workflow. All the parallel branches execute at the same time and complete the execution.

  1. Click on the folder 02_ParallelExecution and expand the jdFork workflow.

    Image Modified

  2. To add the order in the workflow. Click on the action menu of the workflow and click on Add order button from the drop-down menu.

    Image Modified

  3. On clicking the Add Order. A popup window will appear. 
  4. You can add the Order ID or leave the Order Id value blank it will take the default Order Id to process the Order. Click on Submit button. 

    Image Modified

  5. To check the status of the Order click on the Workflow name with this new Order history panel will appear. 

    Image Modified

  6. From the Order history panel, you can see the Order is successful and finished. Click on the Order ID to open the detail logs of execution.

    Image Modified

  7. A log window will open and the order log will be displayed. The order log contains log output from all jobs executed by the order. 
  8. You can download the log file by clicking the Download button from the upper right corner of the log window. Also, you can expand and collapse the individual job output using the arrow button from the left corner of the log window.

    Image Modified