Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 3. Creating a Business Process


A business process is a graph that describes the order in which a series of steps must be executed using a flow chart. A business process consists of a collection of nodes that are linked to each other using connections. Each of the nodes represents one step in the overall process while the connections specify how to transition from one node to the other. Red Hat Process Automation Manager contains a predefined selection of node types to simplify business process creation.

Prerequisites

3.1. Creating the pizza orders business process

The pizza orders business process determines whether or not the new order contains the required data before proceeding. If all of the specified data requirements are met, the order will be processed.

Procedure

  1. In Business Central, go to Menu Design Projects pizzaPlace.
  2. Click Add Asset Business Process.
  3. In the Create new Business Process wizard, enter the following values:

    1. Business Process: pizzaOrders.
    2. Package: select com.myspace.pizzaplace.
  4. Click Ok. The process designer opens.
  5. In the upper-right corner, click the Diagram properties diagram properties icon.
  6. Scroll down and expand Process Data.
  7. Click btn plus four times next to Process Variables, and define the following variables:

    Figure 3.1. Defining variables in the Process Data window

  8. In the process designer, click Save, then Save, to confirm your changes.

3.2. Creating the Process Order user task

Create a process order and add variables, such as the pizza ingredients and drink selection.

Procedure

  1. Click the start event to create an outgoing connection to a new task.

    Figure 3.2. Outgoing connection from the start event to a user task

  2. Convert the new task to a user task.

    Figure 3.3. Convert into a User task

  3. Click the user task and enter Process Order in the Name field.
  4. Expand Implementation/Execution and enter the following values:

    • Task Name: processOrder
    • Actor: Katy

      Figure 3.4. The Diagram properties window

  5. Click btn assign next to Assignments.
  6. In the Process Order Data I/O window, create the following input assignments:

    Figure 3.5. The Process Order Data input and output assignments

  7. Click Save.
  8. In the process designer, click Save, then Save, to confirm your changes.

3.3. Creating the Confirmation user task

Create an order confirmation user task, which will return the order details to the customer for confirmation before the final order is placed.

Procedure

  1. Click the Process Order task to create an outgoing connection to a new task.

    Figure 3.6. Outgoing connection from the Process Order task to a user task

  2. Convert the new task to a user task.

    Figure 3.7. Convert into a User task

  3. Click the user task and enter Confirmation in the Name field.
  4. Expand Implementation/Execution and enter the following values:

    • Task Name: confirmation
    • Actor: Bill

      Figure 3.8. The Diagram properties window

  5. Click btn assign next to Assignments.
  6. In the Confirmation Data I/O window, create the following input assignments:

    Figure 3.9. The Confirmation Data input and output assignments

  7. Click Save.
  8. In the process designer, click Save, then Save, to confirm your changes.

3.4. Adding an end node

Add an end node to signify the end of the pizza order process.

Procedure

  1. Click the Confirmation user task and connect it to an end event.

    Figure 3.10. Outgoing connection from the Confirmation user task

  2. In the process designer, click Save, then Save, to confirm your changes.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat