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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to get the Target audience for future scheduled delivery

senthil_kumars3
Level 2
Level 2

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

1 Accepted Solution
ramon_bisswanger
Correct answer by
Employee
Employee

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.

View solution in original post

3 Replies
ramon_bisswanger
Employee
Employee

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
Level 2
Level 2

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.

ramon_bisswanger
Correct answer by
Employee
Employee

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.

View solution in original post