Run the workflow
Objective
In the next few steps you learn how to test your workflow and more importantly your SMS activity using test mode.
Verify workflow
-
The final workflow looks something like the following when you are done. Double-check everything looks good. You see:
-
If you haven’t already stopped your workflow, click the Stop button in the upper right.
note NOTE Optionally, try clicking on the Restart button, but it’s likely you’ll see an error since you’ve added activities after the workflow was created, and its cache is no longer valid. -
Next click the Start button to execute and test the workflow end-to-end
-
Review the result coming into the SMS activity by clicking on Result (there are two Results so use the left one as shown below) and then in the left rail clicking on Preview results button.
-
You see 33 records and the targeting dimension matches the Customer ID (the join key to profile)
Test the SMS activity
-
Close out of the previous window and click on the SMS activity and then click the Run test button in the right rail
-
Almost immediately, a new button appears labeled View report. Click the View report button to launch into the report screen.
note NOTE This screen is not populated initially as it takes some time to execute the test run. You may need to refresh a few times before you see results. -
When you get results, you see 100% were targeted!
Wait, a minute…the incoming result was 33 records so where did the 4 go?
-
Go back to the workflow canvas and click on the transition Result coming into the SMS activity and then click on Preview results in the right rail.
-
In the Preview results screen scroll all the way to bottom of the table and you notice that 4 records have a blank Targeting dimension.
Explanation
Here is what happened.
- You had 33 customer lines that you wanted to send an SMS message
- After the change dimension activity 4 of those customer lines had no associated customer account
- The join to the Real-Time Customer Profile requires you have a Customer ID and since there is none on those 4 records there is no way to look up a profile or create a new one immediately
Result --> Orchestrated Campaigns drops those 4 records on message execution
- Make sure an exclusion log is created for records that are missing a targeting dimension on send
- Update the Change dimension activity to do an inner join vs. external join which would drop those 4 records up front
Publishing the workflow
You are not going to do this in the lab, but for context here is what happens at publication time:
-
Scheduler kicks in if the campaign has a schedule set
-
Save Audience activities create the audience shell within the Audience Portal and the qualified profiles start ingesting
-
Message execution starts for the first message activity in the workflow
-
Profile lookups occur against the Profile snapshot
- Matching profiles honor the consent found on the profile
- Non-matching profiles are created on the fly
-
Delivery logs are created in the
AJO Message Feedback Event Dataset
-