Looking for some assistance trying to wrap my head around what I am trying to do. From what I have found, it looks like I may need to use a batch macro for what I am trying to accomplish but I am having trouble getting it to function. For the sake of this example, I've paired down my data set to what matters.
I have a list of teams and the corresponding applications they support. My end goal is to send each team 1 email with a list of all of that teams applications (and other data for each application).
Example Data Set:
Team Name | Team Email | Application | Notes |
Team A | a@a.com | App 1 | Lorem Ipsum 12345 |
Team A | a@a.com | App 2 | Lorem Ipsum 12345 |
Team A | a@a.com | App 3 | Lorem Ipsum 12345 |
Team B | b@b.com | App 4 | Lorem Ipsum 12345 |
Team B | b@b.com | App 5 | Lorem Ipsum 12345 |
Team C | c@c.com | App 6 | Lorem Ipsum 12345 |
Team D | d@d.com | App 7 | Lorem Ipsum 12345 |
Team E | e@e.com | App 8 | Lorem Ipsum 12345 |
Team E | e@e.com | App 9 | Lorem Ipsum 12345 |
Example Workflow:
Functioning Workflow Steps:
The portion of this workflow I am trying to make dynamic is step 4. The list of teams will be ever growing in the data source and I would like something along the following lines:
Solved! Go to Solution.
hi @dwillequer
Absolutely you have to use a batch macro!
You have to take just one group (since the filter tool) and create it. As an input you have to use the macro input an have the fields you need.
I attached an example of how you can start. Just modify the macro when the things you need
Outside the macro you can see a text input connected to the ?. I put it just you try to add another team email.
The macro will execute the number of teams is in that anchor
I hope it helps
And if you have questions don't hesitate to ask me
As @randreag suggested, a batch macro should be good fit for your purpose here.
Forgive me for the error in the sample flow attached. I try not to input any personal information.
Try to implement your part into the macro, and it shoud work.
@randreag
Nice one.
Just a quick note that your macro seems not being included in the package. 😁
Hi @dwillequer
Unless I'm missing a requirement, you don't need a batch macro for this
The output from the summarize stream looks like this
You have 5 records, one for each team and the email tool is configured to use [Team Email] as the To:
If you need the table structure, replace the Summarize tool with a Table tool as in the bottom stream. Make sure to group by Team Name and Team Email. This also results in one email per team.
Dan