Low-code designer > App builder / Business process associated with an app

Business process associated with an app

Business processes associated with apps describe the logic of the app. For example, for the Invoice app, you can create an approval process to describe all the stages of invoice approval in your company.

начало внимание

Only the users included in the Administrators group can model, configure and edit business processes.

конец внимание

Create a new process

Business processes associated with apps are created in a similar way to the global processes.

To create a process, follow the steps below:

  1. Click the gear icon next to the App name and select Business Process.

bpaa 1

You will see a page with the list of the business processes associated with the app.

  1. To add a new business process, click + Process.

bpaa 2

Fill in the fields in the provided window:

bpaa 3

  • Name*. Specify the name of the process.
  • Code*. The code is used for working with API. It is generated automatically but you can edit it if necessary.
  • Parent category. Specify the folder where the process will be located. To create a new folder, go to the page with the list of business processes and click + Folder.
  1. After filling in all the fields, click Create.

The process designer page will open where you can model the process.

bpaa 4

Note that in the context of a business process associated with an app, a variable referencing this app is always added automatically. This is convenient, for example, when you want to include app properties on task forms without manually adding them to the process context.

Once published, the process appears in the app's list of business processes. From there, you can return to the modeling designer. If the process is already being edited by another user, you can open its diagram in view mode.

начало внимание

To activate the view mode, enable the enableReadOnlyModeForDiagrammer feature flag. To learn more about enabling feature flags, see Modify BRIX Enterprise parameters and Modify BRIX Standard parameters.

конец внимание

Add app statuses to a process

When setting up a business process associated with an app, you can add or change app statuses directly in the process designer on the Status tab.

bpaa 6

The Status field article describes in detail how to add statuses in the app settings. In the process designer, statuses are configured in exactly the same way.

Start a process associated with an app

After you have created the process, you can bind it to buttons on the app page and the creation and view forms of the items. Once a user clicks the button on the form, the process starts. bpaa 7