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

Getting Enrichment Data from Workflow Steps

andrewg83549124
Level 1
Level 1

One feature that I miss from some of the other services is the ability to get reports on things such as new subscribers within certain periods of time.  I can generate reports or workflows to tell me this info, but my goal would be automate it into an email.   

My question is, whether there is a way to somehow grab the result of a workflow step (the number that appears above the arrow after the step executes), and then include it in a delivery as enrichment data?  

It'd be interesting to be able to use this as a way to give quick stats on List Growth or the number of people currently receiving a drip campaign, etc.    

1 Accepted Solution
Jean-Serge_Biro
Correct answer by
Community Advisor
Community Advisor

Hi Andrew,


Please use vars.recCount of your workflow activity (more precisely task at execution time) just after every activity, but take care it is override by each activity.
So if you need to put different metrics in your delivery synthesis, you must save the vars.recCount in different instance variables after each activity. For instance, if you do a split with 4 branches and want to get the values in your delivery report, you save the vars.recCount in 4 variables or an array of 4 elements.

Regards
J-Serge

View solution in original post

1 Reply
Jean-Serge_Biro
Correct answer by
Community Advisor
Community Advisor

Hi Andrew,


Please use vars.recCount of your workflow activity (more precisely task at execution time) just after every activity, but take care it is override by each activity.
So if you need to put different metrics in your delivery synthesis, you must save the vars.recCount in different instance variables after each activity. For instance, if you do a split with 4 branches and want to get the values in your delivery report, you save the vars.recCount in 4 variables or an array of 4 elements.

Regards
J-Serge

View solution in original post