• German
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Media
  • Courses
  • Marketplace
  • Login
  • Try for free
  • German
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Media
  • Courses
  • Marketplace
  • Login
  • Try for free
home/Knowledge Base/Mobile Client/How to send and receive Push Notifications

How to send and receive Push Notifications

Written by Christian Kleinschroth
June 18, 2021

Prerequisites

You need a mobile device with Simplifier Mobile Client connected to your Simplifier instance.

Step 1 – Create Notification Data Type

Create a Data Struct for the notification message. I.e., if you want to send the username, text message, and an ID, define a data type with data fields username (String), textMessage (String), and ID (Integer). As running example, we will use the Smart_Maintenance_Struct with data fields user, notif_short_text, notif_no, and notif_longtext:

Step 2 – Define User Group

The group of users who receive the push notifications, can be defined using Simplifier User Groups, or User Roles. I.e., by selecting a group all users assigned to this group will receive the push notification, or in case of role-based definition all users with this role will receive the push notification. In our running example, we will use the group-based definition, and so define a Simplifier User Group ‘Push_Notification_Receivers‘, whose member will receive the push notifications:

Step 3 – Create Push Connector

Create a Connector of Type ‘Push’ and select the Simplifier User Groups or Roles  for specifying the receivers of the push notifications.

Next, configure the two Connector Calls ‘send’ and ‘receive’ as described in Simplifier Documentation.

Step 4 – Send Push Notification

To send push notifications implement the following steps in the Process Designer:

1.Get the data for the notification message and store it in a global variable. In the running example, we use an UI Action to map the values of the input fields filled by app users to a global variable (‘pushNotification’), which is of the data type specified in Step 2:

2. Run the ‘JSONStringify’ helper function of the client-side Business Object ‘ITIZ_Utilities’ (Standard Content) for the global variable holding the message data:

3. Use the result of the JSONStringify function as input for the Push Connector Call ‘send’ specified in step three. To access the output of JSONStringify directly, you can use the process output feature when configuring the input mapping of the Connector:

Step 5 – Receive Push Notification

To receive push notifications implement the following steps in the Process Designer:

1.In our case, we only want to receive push notifications in mobile mode, i.e., if the app is running on a mobile device, not in the browser of a PC. Therefore, we have to check in a first step whether the app is running on a mobile device. To do so, add an Auto Field ‘MobileClient’ of type ‘Device’ and characteristic ‘Mobile Client’ (in Data Workbench) and use this Auto Field to configure the Condition shape:

2. Use Mobile Action ‘BackgroundMode’, so that push notifications will be received even if the app is running in the background or the display is locked.

3. Before configuring (and connecting) the Connector shape for receiving the push notifications, switch to Asynchronous (!) Connector Call in the settings panel (right hand side). Then, select the Push Connector Call ‘receive’ (specified in Step 3), and connect the Condition shape with the ‘subscribe’ port of the Push Connector shape.

4. Run the ‘JSONParse’ helper function of the client-side Business Object ‘ITIZ_Utilities’ (Standard Content) for the result of the Push Connector Call ‘receive’. To access the output directly, you can use the process output feature when configuring the input mapping of the Business Object.

5. Store the result of the JSONSParse function in the global variable (‘pushNotification’), which is of the data type specified in Step 2:

6. Now you have the message data stored as global variable and can use it as input for the Mobile Action ‘Notification’:

Was this article helpful?

Yes  No
Related Articles
  • Fine-tuning and Running Custom AI Models in Simplifier
  • Using the Simplifier Teams App
  • How to integrate value help and suggestions in user inputs
  • How to integrate Simplifier in CI/CD pipelines
  • How to use Google reCAPTCHA v3 Essentials
  • How to use Simplifier Content Repository Plugin
Leave A Comment Cancel reply

You must be logged in to post a comment.

Mobile Client
  • How to send and receive Push Notifications
  • Android – Random Connection Errors to Simplifier Server
Knowledgebase Categories
  • Getting Started 4
  • Best Practices 3
  • How to's 26
  • Layout & Design 4
  • Widgets 8
  • Cloud Services 6
  • Database Handling 1
  • Integrations 10
  • Plugins 6
  • Mobile Client 2

  Dynamic where-clause and repeatable statement

How to set Simplifier environment variables in Open Shift  

GetApp Review

User Reviews

capterra

User Reviews

For AWS Customers

For SAP Customers

  • Contact | Imprint | Privacy | © 2025 Simplifier AG. All Rights Reserved.

  • English
  • German

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.