Skip to main content
Question

IFS Cloud sending push notifications 24R1


Forum|alt.badge.img+5
  • Do Gooder (Partner)
  • 24 replies

Good afternoon,

 

I created a custom event that when State gets to approved it sends a push notification:
 

But currently this is only working for a specific user, and this user has 10 device_id where only 2 of them are receiving the notification, does someone know how to send to the 10 devices and to the other users?

14 replies

kathlk
Hero (Employee)
Forum|alt.badge.img+14
  • Hero (Employee)
  • 291 replies
  • July 5, 2024

Hi,

Push notifications are only delivered to devices that have push enabled. Could you please check the Push Enabled flag on all ten devices from the Installed App Devices screen?

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 5, 2024

By push enabled do you mean that have active notifications? If so they have, even the other users have


kathlk
Hero (Employee)
Forum|alt.badge.img+14
  • Hero (Employee)
  • 291 replies
  • July 5, 2024

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 5, 2024

How do I activate it?


kathlk
Hero (Employee)
Forum|alt.badge.img+14
  • Hero (Employee)
  • 291 replies
  • July 5, 2024

The push notification setting is automatically configured by the backend when the device is activated or initialized. If the Installed Apps Device screen shows this setting as "NO," the device will not receive any push notifications.

There could be various reasons for this, such as the device's OS not enabling push notifications or incorrect notification hub settings in the back office app parameters (though we can rule this out since two devices are receiving notifications).

Please check the push notification settings for the MWo app at the OS level on the device. If everything looks correct on the device side, the next step is to check the device logs for any errors.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 5, 2024

For a User i Have, it’s saying that the push notification is enabled, but she isn’t receiving anything. Is there some other type of error?


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23
FLopes wrote:

For a User i Have, it’s saying that the push notification is enabled, but she isn’t receiving anything. Is there some other type of error?

Do you also not get any push messages when using the standard Send Notification command? 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 8, 2024

Currently I’m doing this query when the event gets triggered:
 

DECLARE    
 message VARCHAR2(50);
 user VARCHAR2(250);
BEGIN    
 SELECT resource_id into user
 from resource_tab
 where RESOURCE_SEQ = '&OLD:RESOURCE_SEQ';

 message := 'Test' || ' resource' || ' value of query: ' || user;    
 Mobile_Push_SYS.Send_Notification(message, 'ServiceEngApp', user);
END;

Is the  Mobile_Push_SYS.Send_Notification the standard Send Notification?


kathlk
Hero (Employee)
Forum|alt.badge.img+14
  • Hero (Employee)
  • 291 replies
  • July 8, 2024

Hi,

Installed App Devices screen shows as push enabled but user does not receive it when sending via the Custom Event? 

Can you do a test by ‘Send Notification’ from the above screen and check logs in the mobile client to see any errors? 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 8, 2024

Hello, How do I check the logs in the mobile client? It sends the notification to the mobile


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23
FLopes wrote:

Hello, How do I check the logs in the mobile client? It sends the notification to the mobile

You can view or send yourselves the logs using Settings in the left-hand navigation panel..


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

I have also updated your other post with a working code example: IFS Cloud Send Push Notification to MWO | IFS Community


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

@FLopes  and everyone interested in this: Please find a sample in the attached document.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 24 replies
  • July 17, 2024

 

Alexander Heinze wrote:

@FLopes  and everyone interested in this: Please find a sample in the attached document.

Thank you very much, I will try to implement this solution and then I will let you know if i got it to Work Thank you @Alexander Heinze .


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings