top_en
Main page

Bitrix24Care

Constructions

Rating:
Constructions in business processes - this group contains managing structures.

Wait for event
This action’s execution depends on the users. Specific control element will be created for them.Note: The command interrupts a business process pending the user’s action.

The type and aspect of the control element depends on the document and place where the business process was launched. An additional option in the actions menu of the business process may be an example of such a control element.

An example of use of the action: change in the progress of a business process in the structure Listening for Parallel Event depending on the command chosen by the user.

The command may also be used separately, but in this case the user must be notified, for example through the User notification function wherein the user has to execute this command.

Action Parameters

The event can be sent by – permits limiting a circle of users for whom this command is available.

Action Results

The results of this action can be obtained using the form Insert value - Additional results where they will be available immediately after adding the action to the template.

The following is available:

  • User who sent the command.

A Short Example of Using the Action

In this example, having performed the action block, the business process will stop and wait for the user to decide which branch the events will follow.

Condition
The structure permits you to direct a business process according to different scenarios depending on preset conditions.

The conditions are checked from left to right. If a condition is met, the actions located in the branch below will be executed. If a condition is not met, the condition located to the right will be checked, and so forth until one of the conditions is met.

Condition Type – PHP Code

The code is indicated as a condition.

If the indicated PHP code returns the value true, the branch of actions below such a condition will be executed; if false is returned, the next condition will be checked.
Note: Only a user with administrator’s rights can set a PHP code.

Attention! Only a PHP code can be used for this type of condition. The parameters of the type {=Variable:Variable2_printable} are not supported.
 
The code executed in the condition must also result in a logical expression (true or false).
Condition Type – Document Field

This action branch of the condition will be executed if the parameters related to the document fields coincide.

Condition Type – Variable Value

This action branch of the condition will be executed if the parameters related to business process variables coincide.
Note:The values of both variables and template parameters can be used in this type.
Condition Type – TRUE

This action branch will be executed immediately. This condition is always met.
Attention!If no condition is met, the business process will continue executing the actions located under the Condition structure. In other words, it will 'skip' the structure.
Listening for parallel event
This structure permits you to direct a business process according to different scenarios depending on which event occurs earlier.

In order to choose the action branch, this structure must use the actions Wait for Event or Pause Execution first.

In other words, the action that occurs earlier in any branch will result in the execution of the chain below such an action.


This action Pause Execution permits you to resume a business process in a certain time in case no command is executed. Otherwise, the business process will just stop and wait for execution of any command inside the structure.
Status
This action permits you to change the status of a business process. This action is available solely for the business processes with statuses.
Note: Only statuses created beforehand are available in the action parameters.
While Loop
The structure executes its subactions so far as a given condition is met.

In other words, the cycle works so far as the condition is valid (true), otherwise (false) the loop is terminated.

Condition Type – PHP Code

Code is indicated as a condition.

If the indicated PHP code returns the value true, the loop will continue operating; if false is returned, the loop will be terminated.

Note: Only a user with administrator’s rights can set the PHP code.

Condition Type – Document Field

The loop will continue operating so long as the parameters related to the document fields coincide.

Condition Type – Variable Value

The loop will continue operating so far as parameters related to variables of the business process coincide.

Note: The values of both variables and template parameters can be used in this type.

Condition Type – TRUE

Note! In this case, the loop will always be executed!
 
Please note that all consultations and assistance with business process setup are provided exclusively by local Bitrix24 partners.


This helped Thanks :) This didn't help Sorry :(
Could you please tell us why:
It's not what I'm looking for
It's too complicated

Did not find an answer to your question?

Send your question to the Bitrix24Care team
Access to technical support specialists requires commercial plan subscription and is not available to free account users. Free accounts are limited to self-support resources such as product manuals, helpdesk articles, video tutorials, and free webinars. Technical assistance, training, setup, customization and other value added services can also be purchased directly from local Bitrix24 partners