# User Alert Notification

{% hint style="info" %}
*<mark style="color:green;">Pre-requisite:</mark> To avail this functionality on any dashboard it is required to be shared across multiple users (minimum 2 users).*&#x20;
{% endhint %}

{% hint style="success" %}
*Check out the below-given demonstration on the User Alert Notification functionality.*
{% endhint %}

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/kvqVXXUGvkBNm1xorClR/User%20alert%20notification%20.gif" alt=""><figcaption><p>User Alert Notification functionality</p></figcaption></figure>

The users will get the alert notification when multiple users are working on the same dashboard. The alert message will pop-up while one of them would like to save the updates on the same dashboard.&#x20;

The user who gets the Alert Notification has two choices:

<details>

<summary>Accept the Alert</summary>

If the user accepts the Alert notification, then his dashboard gets closed and it gets reopened displaying the updates saved by another user.

</details>

<details>

<summary>Deny the Alert</summary>

If the user denies the Alert notification, then he can continue to work on the same dashboard and his updates will overwrite the updates of the another user.

</details>

Please check out the following scenario to understand how the User Alert Notification functionality works.

* A dashboard is shared to multiple users.

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/LbSi49QvGaHa3utjHDl2/image.png" alt=""><figcaption></figcaption></figure>

* If more than one users are working parallelly on the same dashboard and one of the users i.e., User-A saves the dashboard to save the updates added by him in the dashboard. A notification message appears and all the updates committed by the User-A gets saved.&#x20;

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/iicwMmACti8M3fliPNMF/image.png" alt=""><figcaption></figcaption></figure>

* All the other users (i.e., User-B and User-C) who are working still on the same dashboard will receive an alert notification as displayed in the below-given image.&#x20;
* They can either accept it by clicking the ***Yes*** option or deny it by using the ***Cancel*** option.

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/DnJ7z21hkGvKtU2hl2Su/image.png" alt=""><figcaption></figcaption></figure>

* If the User-B accepts the alert, then User-B's dashboard will get closed.&#x20;

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>: The User-B can reopen it only with the updates provided by the User-A.*
{% endhint %}

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/aNGnagjKxfGf64skyGdC/image.png" alt=""><figcaption><p>The Dashboard reflects the saved changes by User-A for the User B</p></figcaption></figure>

* There is a User-C who has cancelled the alert option. So, User-C can continue the work on the same dashboard.&#x20;

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> If User-C saves the dashboard after updating it, that will overwrite the updates given by User-A in the same dashboard.*
{% endhint %}

<figure><img src="https://content.gitbook.com/content/nyOeUTaPuBluyvesHVm9/blobs/WaSQdzxE0ZLrfP3WQHXG/image.png" alt=""><figcaption><p>The Dashboard as overwritten with the changes committed by User-C</p></figcaption></figure>
