> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-others/set-service-notification.md).

# Set Service Notification

Show a notification when the service is running.

{% hint style="warning" %}
Only for Android. When active, the service becomes a foreground service and gains higher priority!
{% endhint %}

Action available for the following operating systems:

![](/files/-MRyMmurYkr5sJQek1Ij)

### Parameters

* **Service** *\<numeric> -* Select a number for a service. Can be Dynamic or 1-10
* **Notification State** *\<numeric>*
  * 1 - Active - To make this service a foreground service.
  * 2 - Inactive - To make this service a normal service.
* **Play Sound** *\<numeric>*
  * 1 - Yes
  * 2 - No
* **Title** *\<string> -* Title of the notification associated with the service.
* **Body** *\<string> -* Body of the notification associated with the service.

{% hint style="info" %}
When a service in Android is set as a Foreground service, it will show in the system notification are permanently a notification with the **Title** and **Body** specified in this action parameters.
{% endhint %}

{% hint style="info" %}
For example if you are downloading synchronizing data for the user, you can do it in a Foreground Service, so this will continue to run, even if the user exits your App or switches to another App, and you can provide feedback to the user of the synchronization status in the notification area.
{% endhint %}
