Run Statement
Run a non-query statement (INSERT/UPDATE/DELETE/DDL).
Overview
Run Statement is a no-code automation step in the Database category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 3 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
Run a non-query statement (INSERT/UPDATE/DELETE/DDL).
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Connection name | variable | Required | db | |
| SQL query | multiline | Required | SQL to run. Variables are expanded first. Example: SELECT * FROM users Supports variables | |
| Store affected row count in | variable | Optional | Example: affected |
How to use Run Statement
- 1
Open AutoFlowRPA and drag the Run Statement command from the Database group onto the canvas.
- 2
Set its parameters in the side panel — Run Statement has 3 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Run Statement command do?
Run a non-query statement (INSERT/UPDATE/DELETE/DDL).
Which group does the Run Statement command belong to?
Run Statement is part of the Database group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Run Statement command take any parameters?
Yes — Run Statement has 3 configurable field(s), all editable in the visual node editor.
More Database commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.