Question
Credijusto
ES
Last activity: 22 Jul 2020 8:46 EDT
How to use Push Treatments Pega Marketing
Hi All,
We are starting to implement push notifications. We are trying to figure out how to use push treatments in actions. We have created a push treatment and then we added it to an action. How can we configure the flow to send this treatment. The push notification shape has no a field to specify the treatment I want to use. The shape only has space for the message. Is there a way to use this treatment and send it to customers trough push channel?
Thanks.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi,
There are two ways to configure the Push Notification shape in the Action flow in Pega Marketing 8.4. Which option you choose will depend on how you want the treatment to be selected. Are you using Next Best Action designer?
Also, could you please confirm that you are using Pega Marketing 8.4?
Thanks
Amy Rohe
Credijusto
ES
Hi Amy,
Yes, In this moment we are using Next-Best-Action Designer. However, I would like to know both configuration approaches.
Regarding Pega Marketing version. Yes we are using 8.4.
Thanks
Jorge
Pegasystems Inc.
US
Hi Jorge, When using Next-Best-Action Designer you should create Push Treatments like you've done and associated the Treatment to your Action on the Action's Treatment tab. Steps for configuring the Treatments tab can be found here: https://community.pega.com/sites/default/files/marketinghelp_v84//index.htm#rule-/rule-obj-/rule-obj-flow-/rule-obj-flow-offer/treatments.htm. You'll also need to add a Push Notification shape to your Action Flow. When configuring the Push Notification shape, in the Message field set the value to '.OfferData.PushMessage' (picture of example configuration attached). This will result in the Push Notification using the message configured in the Push Treatment selected by the Next-Best-Action strategy.
If you were not using a strategy to determine the treatment and Push Treatments you would provide the message text directly in the Push Notification shape's Message field. This usage pattern does not require you to create Push Treatments. Thanks, Amy
Updated: 21 Jul 2020 15:04 EDT
Credijusto
ES
Hi Amy
I have tried with the '.OfferData.PushMessage' property. But when we run the NBA the notification is not getting the IOS phone and the schedule shows that 5 actions were sent. Regarding Android the notification on the phone is empty, no message is showed. We tried again with a normal String and it worked. Do you know what might be happening?.
Pleas check the attached files
Thanks Jorge
Pegasystems Inc.
US
>> But when we run the NBA the notification is not gettinf the phone and the schedule shows that 5 actions were sent Can you elaborate on what you mean by "not getting the phone"? Also, are you saying that if you use a static string the message is properly delivered to the phone? To debug, I suggest you try to include this expression in the push shape: "Treatment Message: " + .OfferData.PushMessage This will concatenate the text "Treatment Message" with the actual message in the treatment. This will hopefully push at least the prefix part to validate that it is working end to end and then you can review if the .OfferData.PushMessage part is missing for some reason.
Updated: 21 Jul 2020 15:22 EDT
Credijusto
ES
We have run the test for both platforms. For IOS the notification does not appear in the phone. For Android the notification was shown empty in the screen.
I have tried the approach you mentioned and we saw on the phone just "Treatment Message: ". So the push message is empty. Please check the attached file
Pegasystems Inc.
US
It would seem that you might be hitting a bug of some sort in the system. Please reach out to support to create an incident.