# Configuring Cancel Workflow Entry Action

The _Cancel Workflow_ entry action allows you to cancel a workflow when an object record enters a lifecycle state that requires cancelation, such as _Rejected_. Once the workflow is canceled, the object record returns to the state it was in before the workflow started. This configuration prevents the need to manually cancel an object record workflow when it reaches a cancelation state.

## Example Usage

The _Rejected_ state on the _Product_ lifecycle is configured to use the _Cancel Workflow_ entry action. An active workflow on the _Product_ record is selected from the **Cancel Workflow** dropdown on the _Entry Actions_ page. When the _Product_ record enters the _Rejected_ state, Vault automatically cancels the active workflow on the record.

## Eligible Workflows

An object workflow must meet the following criteria to be eligible for auto-cancel:
* _Use workflow for single object record_ setting (within _Workflow Details_) must be enabled.

## Defining the Entry Action

The **Cancel Workflow** entry action requires that you select a single workflow. The workflow must follow the eligibility rules mentioned above.

You can find general instructions for creating entry actions in [Configuring Object Lifecycles](/en/lr/30683/).
