Run, Restart, and Stop Business Processes

About this task

Using the Business Processes Monitor, you can not only obtain general and detailed processing information about your business processes, but also run and stop business process and any subprocesses. After reconciling document errors, you can then restart the business process.

You need to resume or restart a process when your monitoring activities uncover a process instance with a state of waiting, interrupted, or halted, or you have stopped a process for some reason, such as to correct a problem before the process continues.

View Execution Information after process resumes or restarts. When you restart or resume a business process, Sterling B2B Integrator opens the Execute Business Process page. This page lists the service, status, advanced status, start and end times, troubleshooting reports, and documents for each step completed within a recently run business process. The following table describes the three options you have for re-activating a stopped process instance, and when to use each:

Restart Option
Description
Resume
Continues a process from the last step that fully completed (including full configured persistence). The instance retains its original instance ID. Use this function when the error is related to services. For example, if a service is unavailable unexpectedly, a business process using that service stops at that point. After the service is restored and active, you can resume the business process.
Simple Restart
Starts a new instance of the same business process from the beginning (with the same document). The new process receives a new instance ID.
Advanced Restart
Runs the original document using the default version of a different business process model (you can select the default version of any process model saved in the system).

The new instance receives a new instance ID. Use this function when the error is related to the business process BPML code.

Note: The information icon indicates that troubleshooting data is available. Click the info icon to view this information.

To perform activities for business processes:

Procedure

  1. From Sterling B2B Integrator Administration menu, select Business Processes > Monitor.
  2. In the Business Process Monitor, select the Instance ID for the appropriate business process.
  3. In the Business Process Detail page, from the Action list, select Restart, Stop, Expedite, or Terminate, and click Go! The options displayed are the only options available for the selected instance or instances.
    Note: If you want to resume the process, select Restart.
  4. To stop the business process, select Terminate. When you are prompted to confirm that you want to terminate or expedite the process, click OK.
  5. If you do not want to stop the business process, complete one of the following actions:
    • To continue the business process instance from the point at which it stopped, in the Resume area of the page, click Go!
    • To restart the process from the beginning with a new instance ID, in the Simple Restart area, click Go!
    • To process the original document using a different business process model, in the Advanced Restart area, select the business process model you want to use for this new instance and click Go!

      The system runs the designated default version of the process you selected. A new page displays the execution of the selected action.

  6. If the business process runs to completion, you are through with the execution. If the resumed or restarted business process stops responding, you must find and correct those errors before the business process can complete.