Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Creating iOS and Android notification channels which simultaneously check for failure

kieran1995
Level 1
Level 1

Hi,

I am currently working on designing a campaign which is capable of splitting customers by either iOS or Android, sending a push notification to each channel simultaneously, checking for failure for each channel, then (if a failure exists), combining these channels and instead send an SMS.

I am trying to query on the success of each individual @deliveryId, but running both iOS and Android streams simultaneously means the delivery ID is overwritten by one channel over the other. Does anyone have any suggestions as to how to remedy this and filter out the successful deliveries for both channels before they are recombined?

Cheers,

Kieran

3 Replies
Jonathon_wodnicki
Community Advisor
Community Advisor

Hi,

Delivery id's overwritten? Should be query targeting broadlog:

  • Select recipient-id
  • Where delivery in (your deliveries), status=failed

Then change dimension to recipient to send.

Thanks,

-Jon

kieran1995
Level 1
Level 1

vars.deliveryId is overridden where multiple delivery are fired simultaneously in the same campaign

Jonathon_wodnicki
Community Advisor
Community Advisor

The immediate answer is to stash vars.deliveryId prior to overwrite, e.g. vars.iosDeliveryId = vars.deliveryId in a script preceding where they connect. Though I have to wonder if there's a clearer way to solve the use case you have.