# Add a pending reason

{% embed url="<https://www.youtube.com/watch?v=WIAOUtzrNGE>" %}

***

A reason to wait allows you to put a ticket on hold, send automatic reminders and resolve the ticket if it has not received a response. All these actions are subject to conditions:

* the interval between automatic follow-ups,
* the number of follow-ups before resolution,
* setting up a follow-up template,
* implementation of a solution template.

## Create the pending reason

Go to **`setup`** > **`dropdowns`** and enter **`pending reasons`** in the search box.

![Alt text](https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-ae362e0e1ecdff75a90d2f34ad189084c259bbca%2Fadd_pending_reason-1.png?alt=media)

Click on **`add`**

Name your pending reason

## Setting up the dunning option

What happens next will depend on your needs. Start by defining the **`automatic follow-up frequency`**. In our example, we're going to carry out **`every 3 days`**.

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-8d88e3c52a73e364f83d10c4391527fdf5451392%2Fadd_pending_reason-3.png?alt=media" alt="Alt text"></div>

## Setting up the resolution option

We're going to define that a ticket can be closed after 3 follow-ups.

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-c297453fdd7c2964d4574f9bb4332253c4787e28%2Fadd_pending_reason-4.png?alt=media" alt="Alt text"></div>

## Define a follow-up template

This template will be used to send out reminders. Click at the end of the follow-up template field

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-d12a129d90585ce78f299a1e3ce005ef02b55d5e%2Fadd_pending_reason-5.png?alt=media" alt="Alt text"></div>

Name your template and indicate the source of the tracking (helpdesk in our case)

Then enter the content of your follow-up, which will be sent to your contact person

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-1e857cc77939c70a4336e37ad5046caa53a7b5c9%2Fadd_pending_reason-6.png?alt=media" alt="Alt text"></div>

Add this follow-up and then select it from the drop-down list

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-35f6bfc7ef68404dd4c398eca96903b5e4849572%2Fadd_pending_reason-7.png?alt=media" alt="Alt text"></div>

## Define a solution template

When this template is added to the ticket, it will close the ticket.Repeat the same process as for the follow-up templateClick on the at the end of the solution template field

<div align="left"><img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-5226869cc1d6846d6a8f87969cf09ad797d14907%2Fadd_pending_reason-8.png?alt=media" alt="Alt text"></div>

Name your templateSelect the **`solution incident`** option so that the ticket can obtain the **`resolved`** statusAdd your follow-up and select it from the drop-down list.

Your pending reason is now ready, all you have to do is click on **`add`**

## Adding a reason for pending to a ticket

When you respond to a ticket, you'll be able to click on the **pause** symbol and select the pending reason you've just created

![Alt text](https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2Fgit-blob-b151225b09851e5acdfad0ce16ef17a52ba16c59%2Fadd_pending_reason-10.png?alt=media)

## Automatics actions

{% hint style="danger" %}
**Warning**

Pending reasons depend on the **`pendingreason_autobump_autosolve`** automatic action. Check that this is active and correctly set (**`setup`** > **`automatic actions`**)

<img src="https://2961961068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsGALtnzA2IROeldmXKt5%2Fuploads%2FWW2aHXoXwrEP9e38EMY0%2Fadd_pending_reason-11.png?alt=media&#x26;token=6650472d-bb32-41a2-a4b0-86dae872e63f" alt="" data-size="original">
{% endhint %}
