Business process setup guide (BPMS)
PDF
This documentation is valid for Creatio version 7.11.0. We recommend using the newest version of Creatio documentation.

Conditional flow

Moving down the conditional flow is done upon fulfilling the condition specified for a flow. For example, if a customer is interested in your products or services, the relevant information must be forwarded to them (Fig. 73).

Fig. 73 Conditional flow

scr_process_designer_conditional_sequence_flow_connection.png 

Conditions for gateways are set in the same manner. If a process element (for example, “Perform task”) is connected to a gateway with a sequence flow, then when you add conditional flows between this gateway and subsequent process elements, it is necessary to specify the conditions for moving down these flows.

Conditions of flows

Depending on the element they originate from, the conditional flows can be assigned conditions by selecting a preset condition in the element setup window of a conditional flow, or specifying a custom condition using a formula.

Selecting a condition from the list

When you add an outbound conditional flow to an action, such as [Perform task], you can select task results as a condition for activating this conditional flow. In the same way, you can select a column to generate the list of results for conditional flows when adding an [Open edit page] element. The selected option will be used as a condition for activating this conditional flow (Fig. 74).

Fig. 74 Selecting a condition for a conditional flow

chapter_process_designer_conditional_flow.png 

Note

Possible results of the [Perform task] element are stored in the [Activity results] lookup. The list of possible options depends on the type of activity.

In this case only one of the outgoing conditional flows can be activated, as with an exclusive gateway.

Using a formula to create a condition

If a conditional flow originates from any process element whose results cannot be determined by the value in a certain column, you need to specify the condition using parameter value window. Formulas are also used for conditional flows outgoing from gateways.

When you add such a conditional flow, the [Formula] element card is opened. Use it to set conditions for moving down this flow ().

When a formula is used to set conditions for conditional flows, the result of the formula is treated as a Boolean value. The logic is the same as that of the standard [Formula] item whose value is passed to a parameter with the boolean data type.

Next

Default Flow

See also

How to add flows and connecting objects

[Formula] process element

Exclusive gateway (OR)

[Task] process element

[Call] process element

Did you find this information useful?

How can we improve it?