--- title: "RUNOBJECT activity" slug: "bc-runobject-activity-setup" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Concept", "Task"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-runobject-activity-setup" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # RUNOBJECT activity In Business Integration Solutions, use the **RunObject** activity to execute a report or a codeunit. ## Usage Use this activity to invoke an operation that runs a codeunit or a report in the current session. For example, after importing a sales document (inbound connection), you can use the **RunObject** activity to release the document or execute a report for it. ## Setup | Field | Description | Observation | | --- | --- | --- | | Object Type to Run | Indicates whether the activity runs a codeunit or a report. | | | Object ID to Run | Indicates which object to run. | | | Object Name to Run | Populated automatically with the name of the object chosen in **Object ID to Run**. | | | Operation | The operation to execute: **Run**, **Print**, or **SaveAs**. | **Print** and **SaveAs** are only available for reports. | | Description | Description of the **RunObject** activity. | | | Add Message | Specifies whether the message body sends to the report as ReportParameters. | Only applicable to object type **Report** with operations **Print** or **SaveAs**. | | Add Record | Specifies whether the record ID processed by the message sends in the scope of the executed object. | | ![ObjectSetup](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/runobjectsetup.png) ## Related - [Setting up activities](/bc-setting-up-activities.md)