How to get the Target audience for future scheduled delivery

senthil_kumars3

14-05-2019

Lets Consider, We are creating a new email delivery scheduled with future date and the delivery is target to one audience group.

Now assume, If in case we need to find all the future (scheduled) deliveries and their corresponding target audience information.

Can we achieve this through workflow ? or API

Accepted Solutions (1)

Accepted Solutions (1)

ramon_bisswange

Employee

21-05-2019

If the workflow is scheduled to be executed in the future, there won't be any audience information yet.

The audience will only be calculated once the Email Delivery task is being called.

At that time, it will use the Query result and filter out Blacklisted addresses etc.

You would only be able to determine the audience if you pre-calculate the recipient list and set a later sending date on the delivery.

Answers (2)

Answers (2)

ramon_bisswange

Employee

15-05-2019

Hi,

you can do that via a workflow.

Finding scheduled deliveries:

* Query on resource Delivery

* Execution Status = in progress

* @mainDate >= GetDate()

The related target audience can then be found by looking for broadLogRcp:

* [delivery/@mainDate] >= GetDate()

* Delivery => Execution status = in progress

Note: if you are using send time optimization it will only return the pending data where the whole delivery is pending.

If you also want to find individual pending records, you would have to filter based on broadLogRcp eventDate property

senthil_kumars3

21-05-2019

Let’s assume, an email delivery is scheduled(future delivery) through the workflow using the scheduled activity.

Workflow Activity as follows:

  1. Scheduler activity (28th May)  à Query Audience activity  à Email Delivery Activity à End

Is there a way to find the audience information associated with this delivery in advance (21st May). Because my use case is to find the future delivery and their audience information in advance so that I can decide certain factors before the actual delivery.