Creating and Modifying Business Process Models In the Text Editor

The process for creating a business process using a text editor in Sterling B2B Integrator includes validation and check-in of the process model.

About this task

Creating a business process model using a text editor rather than the GPM requires advanced knowledge of BPML, and XPath. Unless you are an advanced user, use the GPM to create your process models.

Procedure

  1. From the Business Process menu, select Manager.
  2. Do one of the following:
    • To create a new process model, next to Create Process Description, click Go!
    • To modify an existing process model, use the Search or List feature to locate the model to modify, select Source Manager for the process, and click Edit. Go to step 5.
  3. Type the name to identify the business process you are creating. The name must not contain spaces. See Business Process Name.
  4. Under Select an input mode for defining the new process, select Business Process Text Editor and click Next.
  5. Type a description that helps identify the business process you are creating or modifying. See Business Process Description.
  6. In the Business Process field, either type, or copy and paste, BPML code.
  7. Click Validate to validate the BPML syntax (you cannot enable a business process until it is validated).

    A system message indicates whether the process is valid or invalid.

  8. Is the process valid?
    • If No, correct invalid BPML code and repeat step 7 as necessary. You can view error information by clicking the link in the error message.
    • If Yes, click Next.
  9. Select Document Tracking if you want to track the progress of the document when the business process runs. See Business Process Levels.
  10. Select Set onfault processing if you want the business process to run its onFault protection if it encounters an error when it is running. See Business Process Levels.
  11. In the Set Queue field, indicate the level of queue, previously defined to allocate resources, at which to place this business process for processing. See Business Process Levels.
  12. Indicate the level of persistence to retain data that makes up the business process. See Business Process Levels.
  13. Indicate the level of event reporting for this business process. See Business Process Levels.
  14. Indicate the level of recovery for this business process if the business process should halt during execution. See Business Process Levels.
  15. Indicate the type of document storage for documents that process when the business process runs. See Business Process Levels.
  16. Click Next and select deadline settings for the business process to run. See Deadline Settings.
  17. Click Next and indicate the life span (archiving information) for the level of persistence data you are retaining. See Business Process Life Span.
  18. Click Next.
  19. To enable the business process, ensure that Enable Business Process is selected.

    If you do not enable the business process, you cannot run it in Sterling B2B Integrator without first enabling it later. For instructions to enable it independently of the check-in procedure, see Enabling a Disabled Business Process.

  20. If you want to create a permission associated with the business process model, select Create Permission, and then click Finish.
    Note: If you enable the 4 eyed principle security feature, the following system message is displayed:
    An approval request has been submitted successfully.

    The system creates the business process but is inactive. You must get an approval from the Administrator for the business process to be active.

Results

You can now test the business process model. If needed, create a schedule for running this business process model.

Note: If you edit a file in BPML and then open the file in the GPM, the model displays in Autolayout mode; it does not keep its original GPM layout, if applicable, after its source file has been manually edited.