Recently I got a requirement to looping through data in csv file and use that data to be replaced in the report text and save the report as pdf with data from csv file.
Example :
Name , Bonus
Joe,2000
Jane,1000
Then name and bonus values should be replaced in report text and while saving it as pdf I need them to be saved as Bonus_Joe.pdf and Bonus_Jane.pdf separately.
I'm trying but no luck . Can anyone help me with this?
Thanks in advance.
Solved! Go to Solution.
Thank you so much @FinnCharlton this works.
Can we send these reports as attachments to emails in same workflow?
Example : Joe bonus reports should be sent to joe@mail.com, John bonus reports should be sent to John@mail.com
I got a small change in requirement
Example :
Name , Bonus, Email
Joe,2000,joe@mail.com
Jane,1000,jane@mail.com
I want Bonus_Joe.pdf and Bonus_Jane.pdf to be sent to joe@mail.com and jane@mail.com separately.
Can anyone help me with this?
Thanks in advance.