This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
1) peoples names and email id's who are heads of each dept.
2) data arising in the particular month comprises all the dept's.
Need: So, I have created a workflow for a single department where it creates tables and sends them to the people who are present in that department. Now, I want to use the same workflow in one run to send for 7 departments. This can be done by inputting the 7 department names and attaching the workflow next to it. But, the challenge is I have to input only one dept name at once, so it will send emails to people in that dept, next it again reiterates to the next row (next dept) and continues the same process until all departments are flown through the workflow separately.
Need to keep a macro after the summarize tool present after input file Test1
Sure, see below. But, if you can get the YXMD and YXMC out of the YXZP (not sure if you can since you're on a different version), then you can open them in a text editor, and at the very top it will say 2018.4. If you change that to 10.5 (I'm assuming you have at least version 10.5) then it should open on your canvas.
Module with spreadsheet going to macro:
Action tools (one action tool updates c, and the other action tool updates c):
Sir, I have nearly 6 columns. so does it mean i should keep 6 action tools?
and also the emails are sent for every row of the info file. so effectively a person would be receiving multiple emails with just one row in each email. Is it possible to consolidate all the rows of an info related to one dept and then send mails to each dept? (The info rows are actually sent as a table)
It depends on what you need. With a batch macro, Alteryx will do whatever is in the macro for each record flowing into the macro. I understood it that you only needed to update to fields with each iteration. If you need to update more, then yes, you'd need more action tools (and probably more control parameters).
For the email tool, yes, it will send one email per record, so you'll want to shape your data to accommodate for that. You might need to swap out the output tool in the macro for a macro output tool. Then, back in the module, you'll have an output node from the macro, and from there you can group the records with a summarize tool (or multiple summarize tools) in order to get the email action you require.