# Decline order

Source: https://docs.vendasta.com/automations/my-automations/decline-sales-order/

`Decline order` declines a pending sales order, preventing it from proceeding to activation.

## How it works

1.  The automation reaches the step with an order in scope
2.  The step declines the pending order
3.  The order is marked as declined
4.  The automation continues to the next step

## Set up the action

1.  Open the automation builder and add a new step
2.  Under `Sales orders`, select `Decline order`

## Outputs

This action produces no outputs available to downstream steps.

## Related resources

-   [Actions overview](https://docs.vendasta.com/automations/my-automations/actions-overview/): Browse all available actions
-   [Approve a sales order](https://docs.vendasta.com/automations/my-automations/approve-sales-order/): Approve a pending order instead
-   [Creating and configuring automations](https://docs.vendasta.com/automations/my-automations/creating-and-configuring-automations/): Build and configure workflows
