Set up business process launch for section records
In Creatio, you can run a business process for specific section records. For example, run a customer onboarding process for an account or schedule follow-up calls for all contacts selected in a list. Creatio passes the records to the process via a process parameter, so the process elements can work with these records.
Creatio can pass the records to the process in one of the following ways:
- One record per process instance. Creatio runs a separate process instance for each record and passes the record ID to a parameter of the "Unique identifier" type. Use this way if the process handles each record independently, for example, creates a task for each contact.
- All records in a single process instance. Creatio runs one process instance and passes all selected records to a parameter of the "Collection of records" type. Use this way if the process needs all records at once, for example, to handle them in a single sub-process.
More information on identifying records by ID is available in a separate article: Work with data in a business process.
To set up a business process launch for section records:
- Create a process parameter.
- Map the parameter to process elements.
- Add the business process to a section.
Set up the "Schedule a follow-up call" business process that creates a call task for a contact. Then, set up the "Schedule follow-up calls for selected contacts" business process that runs the first process for every contact selected in the Contacts section list.
1. Create a process parameter
Create a parameter that stores the record ID or a parameter that stores a collection of records. The parameter type depends on how you want to pass the records to the process.
Create a parameter that stores the record ID
-
Open the process in the Process Designer. To do this, click
→ Process library and open the process. -
Go to the Parameters tab in the process setup area.
-
Click Add parameter → Other → Unique identifier.
-
Fill out the parameter properties.
Field
Value
Title
"Contact"
Code
"ContactId"
Direction
Input
-
Click Save in the parameter properties area.
-
Save the process.
Create a parameter that stores a collection of records
The collection must include a nested parameter of the "Lookup" type that refers to the object of the list records. For example, the "Contact" object for the Contacts section list.
-
Open the process in the Process Designer. To do this, click
→ Process library and open the process. -
Go to the Parameters tab in the process setup area.
-
Click Add parameter → Other → Collection of records.
-
Fill out the parameter properties.
Field
Value
Title
"Contacts"
Code
"Contacts"
Direction
Input
-
Click Save in the parameter properties area.
-
Click Add nested parameter → Lookup.
-
Fill out the nested parameter properties.
Field
Value
Title
"Contact"
Code
"Contact"
Lookup
Contact
-
Click Save in the nested parameter properties area.
-
Save the process.
2. Map the parameter to process elements
Map the parameter to the process elements that work with the records. Process elements obtain the record from the parameter when the process runs.
Map the parameter that stores the record ID
For example, connect the task that the Perform task element creates to the contact for which the process runs.
- Select the element on the diagram. For example, Perform task.
- Click the field to populate from the parameter and select Process parameter. For example, the Contact field in the Connected to block.
- Go to the Process parameters tab in the Select parameter window.
- Select the parameter that stores the record ID. For example, "Contact."
- Click Select.
- Save the process.

As a result, every time the process runs, Creatio populates the element field with the record from the process parameter. For example, Creatio connects the call task to the contact for which the process runs.
Map the parameter that stores a collection of records
To process each record in the collection, pass the collection to the Sub-process element. The element runs a separate sub-process instance for each collection item. Learn more: Sub-process element.
For example, run the "Schedule a follow-up call" process for every contact in the collection.
-
Add the Sub-process element to the diagram.
-
Select the process to run in the Which process to run? field. For example, "Schedule a follow-up call."
-
Click the sub-process parameter in the Process parameters block and select Process parameter. For example, "Contact."
-
Go to the Process parameters tab in the Select parameter window.
-
Expand the collection parameter and select its nested parameter. For example, "Contacts" → "Contact."
-
Click Select.
Out of the box, the Sub-process element runs sub-process instances one by one ("Sequential" execution mode) and runs the current and the following elements in the background.
-
Save the process.

As a result, Creatio runs the sub-process for each record in the collection. For example, Creatio schedules a follow-up call for every contact passed to the process.
3. Add the business process to a section
Add a button that runs the business process to a Freedom UI page. To run the process for a single record, set up the button as described in a separate article: Set up a button that runs business processes in a section.
To run the process for the records selected in a list:
-
Open the list page in the Freedom UI Designer. For example, the list page of the Contacts section.
-
Drag a Button component to the canvas or select an existing button.
-
Select "Run process" in the Action parameter.
-
Select the process in the Which process to run? parameter. For example, "Schedule follow-up calls for selected contacts."
-
Select "For the selected records in list" in the How to run the process? parameter.
-
Select the list in the Which list to run process for? parameter. For example, "List Contact | DataTable."
The parameter lists all lists available on the page.
-
Select the parameter to which Creatio passes the records in the Process parameter where the record is passed parameter. The parameter defines how Creatio runs the process.
- Select a parameter of the "Unique identifier" type to run a separate process instance for each selected record. For example, "Contact" for the "Schedule a follow-up call" process.
- Select a nested parameter of a "Collection of records" parameter to run a single process instance for all selected records. For example, "Contacts.Contact" for the "Schedule follow-up calls for selected contacts" process.
-
Save the page.

As a result, users can select records in the list and click the button to run the business process for these records. For example, a sales manager selects contacts in the Contacts section list and schedules follow-up calls for all of them in one click. Creatio limits the number of records per launch. The "MaxListPerProcessExecution" (MaxListPerProcessExecution code) system setting defines how many records Creatio passes to a single process instance. The "Maximum number of processes running simultaneously for list operations" (MaxProcessesPerListExecution code) system setting defines how many process instances Creatio runs for separate records. If users select more records than the limit, Creatio displays a notification and doesn't run the process. Learn more: Description of system settings.
Run business processes in bulk efficiently
Running a business process for many records at once is common for recalculating data, updating records after data changes, or running automation for a large dataset. Many simultaneous process instances consume platform resources. Use the following recommendations to keep Creatio responsive for users.
Optimize data operations
Inefficient data logic repeats in every process instance, which multiplies the system load.
- Filter datasets as early as possible, preferably in the first process element.
- Avoid unnecessary database queries. Configure each element to process as much data as possible.
- Avoid processing the same records repeatedly.
- Update only the required records.
Schedule bulk runs
- Schedule bulk process runs for periods of low platform activity, for example, overnight.
- Split very large datasets into smaller batches.
Run large batches in the background
Creatio runs a foreground business process in the application session. Foreground processes don't use a queue, so Creatio doesn't limit the number of foreground processes that run simultaneously. A large number of foreground processes or complex process logic increases the application load. Use foreground execution for large batches only when the scenario requires it.
Background execution suits bulk automation. Creatio queues background processes and runs a limited number of them at a time. To run a process in the background, select the Run following elements in the background checkbox in the setup area of the start event.
Out of the box, Creatio runs up to 10 background processes at a time on each application node. Additional processes wait in the queue. If you need a different limit, ask your system administrator to change the messageProcessingThreadsCount attribute in the configuration file in the root folder of the Creatio application: Web.config for .NET Framework or Terrasoft.WebHost.dll.config for .NET 8. If you use Creatio in the cloud, contact Creatio support.