此内容没有您所选择的语言版本。

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. Log in to Business Central and click 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. Click Save.
  9. 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 from the start event to user task.

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

    Figure 3.3. Convert into a User task

  2. In the upper-right corner of the the process designer, click the Diagram properties diagram properties icon.
  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 user task.

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

    Figure 3.7. Convert into a User task

  2. In the upper-right corner of the the process designer, click the Diagram properties diagram properties icon.
  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

    Figure 3.11. Connect to an end event

  2. In the process designer, click Save, then Save, to confirm your changes.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat