SAP Knowledge Base Article - Public

3194209 - issue regarding sendNotification() API

Symptom

You want to include email notifications or messages for end-users. It can be done via in-built Application.sendNotification() function. 

You test the feature but it doesn't work.

Environment

SAP Analytics Cloud 1.0

Cause

To use the feature, there are some pre-conditions.

Resolution

Regarding the pre-conditions of using this API, you can check the SAP online help in the way below:

Optimized Story Experience API Reference Guide Version 2026.8

According to it, please make sure the following:

1,You need the "Runtime Notification" privilege for sending notification. For more information about how to assign permissions and privileges, see the chapter "Permissions" in SAP Analytics Cloud Help. 

2, If you want to send notifications without scheduling, ensure that your own mail server’s been configured.  Refer to the Online help below:

Use sendNotification API | SAP Help Portal

Keywords

sendNotification , KBA , LOD-ANA-AD , Analytics Designer , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

Product

SAP Analytics Cloud 1.0