Skip to main content

Celonis Product Documentation

Microsoft SQL Server (Action Flows)
Getting started with Microsoft SQL Server (MSSQL)

The above modules let you execute your custom logic directly on your database server through stored procedures. Execution Management System loads interface of input/output parameters and record set dynamically so each parameter/value can be mapped individually.

Before you start configuring your Action Flow, make sure the account you're using to connect to your database has read access to INFORMATION_SCHEMA.ROUTINES and INFORMATION_SCHEMA.PARAMETERS views.

Execution Management System will make connections to your database from the following IP addresses.

To learn more about creating a stored procedure, see Microsoft SQL Server documentation.


Execution Management System doesn't support multiple record sets, only the first one is processed.

ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction

This error occurs when you modify the same data using multiple modules. It is caused by SQL transactions.

When any SQL module is executed then it starts the transaction (1) and the transaction is finished after the Action Flow is fully executed. If another module tries to access the same data used in another unfinished transaction (1) then it has to wait until the previous transaction (1) is finished – but it never happens because the first transaction (1) will be finished after the Action Flow is finished.


Turn on Auto-commit. It finishes (commits) every transaction immediately after the module execution is done.

1. Open Action Flow settings.

2. Enable the Auto commit checkbox.

3. Confirm the settings dialog by clicking the OK button.