Business process setup guide (BPMS)
PDF
This documentation is valid for Creatio version 7.14.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. 1)

Fig. 1 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 (Fig. 2).

Fig. 2 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

Elements and flows

[Formula] process element

Exclusive gateway (OR)

[Task] process element

[Call] process element

Did you find this information useful?

How can we improve it?