# Assign Case deadlines

> How to assign a deadline to a Case from a Workflow, and how SLA targets are set.

Source: https://help.withpersona.com/articles/RY8o9XcFcTA2hR1QvvAj4/
Section: Cases > Introduction > Using Cases

## Overview

To set Case deadlines, create a Workflow that uses the **Set Case SLA** action step.

As background:

- Learn about the Cases deadline feature, and how to get access to it, [here](https://help.withpersona.com/articles/5JQzBlB1uHQkyXLpysk1W1/).
- Learn how to create Workflows [here](https://help.withpersona.com/articles/20Zvcq50493eMUdt7aDhRY/).

## Add the **Set Case SLA** Workflow step

To set an SLA on a Case, add the **Set Case SLA** action step to a Workflow.

The Set Case SLA step can only be added after a Case is referenced in the Workflow. For example, you can add the Set Case SLA step after a Create Case step; or after a trigger on a Case's status change.

Fill out the following settings:

- **Case**: the Case to apply the SLA to.
- **SLA Target**: when to set the deadline. Set this to any number of minutes, hours, or days.

  ![case-workflow-step-sla.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/_uncategorized/ry8o9xcfcta2hr1qvvaj4-14426315788563.png '392x737')

### Example

As one example, you can create a Workflow that:

- Triggers on each completed Inquiry.
- Runs a Database Verification on each Inquiry.
- Creates a Case for each Inquiry.
- And then, sets the SLA for each Case.

  ![case-workfow-sla-example.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/_uncategorized/ry8o9xcfcta2hr1qvvaj4-14426491067027.png '346x444')

You can also use a conditional statement in your Workflow to apply SLAs only in specific situations.
