> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/alerts4dynamics/configuration/automation/event-based-alert.md).

# Event-Based Alert

To understand how this provision works in case of Event-Based Alerts,  let’s consider that the user wants to create an alert notification to be shown when the value of a **‘Subject’** field of the case record changes. And later, user wants this alert to auto-dismiss once the case is resolved.

#### Steps to Auto-dismiss Alerts

* Navigate to **Advanced Settings** --> **Settings** --> **Process** --> **New Process**.

![](/files/-ML6tCQcRmOXz-Bjc_uy)

* Select category as **‘Workflow’** and choose the **Entity** --> Click on **OK.**

![](/files/-ML6tSqu3TY8lKeeFA5O)

* Go to **‘Record fields change’** --> Select the field **‘Subject’** from the list.

![](/files/-ML6tivasNIPTfCnyANm)

![](/files/-ML6trfx98URLkyYSKPl)

* Create a notification request record to create an alert.

![](/files/-ML6u4X6dfdXQyto3w25)

* Select **‘Notification Request’.**

![](/files/-ML6uFlf4qBY9trLPGlH)

* Click on **‘Set Properties’**.

![](/files/-ML6uTo12tgpedZvrCKV)

* Perform the dynamic field selection as required.

![](/files/ID8zXFLTe3gU4QuYWCqw)

* To display alert on the case record, set the **‘Notification Associated With’** as shown below:

<figure><img src="/files/OabYl25s4yzb9S4p2xxW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LA4xXTtUmS0iKigbjWzl" alt=""><figcaption></figcaption></figure>

* After creating an alert, now add a **‘Wait’** condition which will wait till the case is resolved.

![](/files/-ML6vhgKvqf6bVGEok-Y)

![](/files/-ML6w2l_5NmXOJwExPf6)

Let’s further configure the condition.

![](/files/-ML6wBBKoQUllxMKfr2n)

![](/files/-ML6wHWkNVo3iY0r64bV)

* To auto-dismiss the alert once the case is resolved, select the row and add a new step as shown below:

![](/files/-ML6wQmeKIh_-HAuXLVr)

* Select the below assembly from the list for auto dismissing the alert notification.

<figure><img src="/files/lVsMfmTjHlAn2ZJWSW2Q" alt=""><figcaption></figcaption></figure>

* Click on **‘Set Properties’.**

<figure><img src="/files/W6K1c8tcqGXEhDuC08Uq" alt=""><figcaption></figcaption></figure>

* Select the below option from the list for **‘Look for’** field. This is a first step description that was added to create a notification request record.

![](/files/-ML6wzVfGS2XpK2Oym_V)

* Click on **‘Add’**.

![](/files/-ML6x838Ve3H00hE1JNM)

* Click on **‘OK’.**

![](/files/-ML6xNM0qH40PHkjxsp9)

![](/files/-ML6xTiX1ufZiSdwDWqi)

* Click on **‘Save and Close’**.

![](/files/-ML6xecivU4LhFUOyVSJ)

* Next, activate the workflow.

![](/files/-ML6xw0ddSgD4UeE8hJj)

![](/files/-ML6y-8r9X5hWrv-C4kB)

* Navigate back to **Case** --> **Open a case record** --> **Change** the value of the field **‘Subject’**.

![](/files/-ML6yHBGXYRqjvACIFaD)

* Change the subject from **‘Delivery’** to **‘Query’**.

![](/files/-ML6yYC8zL4Hl2eYTAjw)

![](/files/-ML6yeJJ7SPv9vJwl68P)

* Click on **‘Save’.**

![](/files/-ML6yotEJZ9RNJTDF8Un)

* Once saved successfully, an alert will be shown as a **Dialog** on the case record. It will continue showing up until the case is resolved.

<figure><img src="/files/Vgy8GyAO1Ru1u5nQu51T" alt=""><figcaption></figcaption></figure>

* Now, let’s mark this case record as resolved.

![](/files/-ML6zIOH3mk90YZap_Ov)

![](/files/-ML6zNqf0irjzaMgU7yM)

![](/files/-ML6zTODwV7PA8Nz_j_r)

* Once the case is resolved, the alert is dismissed automatically.

![](/files/-ML6zbkGGUpKrmI7Pikf)

{% hint style="success" %}
For any queries, reach out to us at <crm@inogic.com>
{% endhint %}
