Chapter 5. Creating the Place order subprocess


Create the Place order subprocess, which is a separate business process that is carried out by the supplier. This is a reusable process that occurs during the course of case execution as described in Chapter 6, Designing the case definition.

Prerequisites

Procedure

  1. In Business Central, go to Menu Design Projects IT_Orders_New.
  2. From the project menu, click Add Asset Business Process.
  3. In the Create new Business Process wizard, enter the following values:

    • Business Process: place-order
    • Package: Select com.myspace.it_orders_new
  4. Click Ok. The diagram editor opens.
  5. Click an empty space in the canvas, and in the upper-right corner, click the Diagram properties diagram properties icon.
  6. Scroll down and expand Process Data and click btn plus in the Process Variables section and enter the following values:

    • Name: CaseId
    • Data Type: String

      1. Click btn plus to add a another variable:
    • Name: Requestor
    • Data Type: String
  7. Click the start event and create an outgoing connection from the start event to a task and convert the new task to a user task.

  8. Click the user task and in the Diagram Properties panel, input Place order in the Name field.
  9. Expand Implementation/Execution and select supplier from the Groups menu.
  10. Click diagram properties in the Assignments field and add the following new conditions in the Place order Data I/O window.

  11. Click Save.
  12. Select the Skippable check box and enter the following in the Description field:

    Approved oroder #{CaseId} to be placed

  13. Create an outgoing connection from the Place order user task and connect it to an end event.

  14. In the diagram editor, click Save, and then Save, to confirm your changes.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat