--- title: "Clean up outbound queue" slug: "clean-up-outbound-queue" description: "Clean up your outbound queue efficiently by processing records, deleting old entries, and setting up batch processing for optimal data management." tags: ["Task topic"] status: "update" updated: 2026-10-05T12:10:29Z published: 2026-10-05T12:10:29Z canonical: "docs.staedean.com/clean-up-outbound-queue" --- > ## 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. # Clean up outbound queue When the outbound queue is processed, the related message or web service action is run for each record to export the applicable data. A successfully processed outbound queue record gets the status **Processed**. You can clean up the outbound queue by deleting the records with the status **Processed**. ### Steps 1. Click **Connectivity studio - Integration operations**. 2. Click **Outbound message queue**. 3. Click **Clean up**. 4. You can clean up the outbound queue for a specific message. In the **Message** field, enter or select a value. > [!NOTE] > **Note** > > If you do not define a message or web service action, all outbound queue records (with status **Processed**) within the defined period are deleted. 5. You can clean up the outbound queue for a specific web service action. In the **Web service action** field, enter or select a value. > [!NOTE] > **Note** > > If you do not define a message or web service action, all outbound queue records (with status **Processed**) within the defined period are deleted. 6. Select the number of days for which you want to keep the outbound queue records. All outbound queue records (with status **Processed**) that are older than the defined number of days are deleted. In the **Number of days** field, enter a number. 7. Sub-task: Set up batch processing. 1. Usually, you clean up the outbound queue in batch in recurring mode. Expand the **Run in the background** section. 2. Select **Yes** in the **Batch processing** field and fill in the fields as desired. 3. Click **Recurrence** and fill in the fields as desired. 4. Click **OK**. 8. Click **OK**.