Unofficial Content

This article explains the steps needed to enable Push Notifications in GXflow Native Mobile Custom Client based on Unanimo design system.

Step 1 - Enable Push notifications

Set to True the Enable Notifications property on the Startup Object (WorkflowMobileMenu) and configure the Procedure WorkflowMobileNotificationsRegistrationHandler in the Registration Handler property.

GXflow Native Mobile Notifications Property

This Procedure will register each device on the WorkflowMobileDevices table when the application is executed, and every time a user logs in from a device his UserId will be linked to it.

Note: Only the last user who logged in to the application will receive the notifications on that device.

Step 2 - Configure the properties needed to send notifications on each platform

Step 3 - Set up the sender Procedure in the Tasks

For the tasks that you want to send push notifications to the users, you will need to assign the appropriate Procedure.

GXflow Native Mobile Notifications Event Handling

Once this Procedure is set, a push notification will be sent to the devices which are registered with the UserId of a user who has the roles needed to execute the task that called the sender Procedure.

Optional: Customize your notifications

By default, the notification only shows an event message as a title and the task name as a description.

You can customize the title of the Notification by changing the Event message on the WorkflowMobileGetEventMessage Procedure.

If you want to create your own notifications, check the Notification Provider API

See also

GXflow Native Mobile Custom Client based on Unanimo design system

 


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant