Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to achieve cycling through a field and send email to different receipant based on the field value?
I have try the cycle option in the report but it will just keep running reports but not sending email to different users after each run.
I can see it as a set of 2 filters each filter would have to be created and associated with user
for each user you would use combination of:
In publish Task you would add all users, but only those with filters resolving values would get report
In NP 16 it is under Recipients in task submenu
see below:
Hi Ronald,
There is no functionality in NPrinintg allowing you to cycle through fields and send reports to different people based on field value you cycle through!
There is however different functionality (exactly oposite what you are doing) but it will deliver the same required result:
If you need more detailed explanation i suggest you mock and provide screenshots and logic you need to apply - then we will be able to help you more
kind regards
Lech
Hi Lech,
So basically I want to make the recipient dynamic. as you can see from below, I only want to send email to manger with "required action" =1. so I will put a filter in Nprint where RequiredAction=1 and then cycle through the ManagerID.
With each managerID selected, a html report will be produced with the image of the whole tab. then I will send the report to the associated manager email address.
Do you think the above could be achived?
I can see it as a set of 2 filters each filter would have to be created and associated with user
for each user you would use combination of:
In publish Task you would add all users, but only those with filters resolving values would get report
Hi Lech,
So we can not loop through a task for values in a field to make the emailing process more dynamic?
Hi Ronald,
It is not possoible to do it in the way you are describing it.
Using approach i have described the process of email distribution is still dynamic, it just requires implementation of user filters on one side, on the other side you do not need loop anymore.
regards
Lech
Thanks Lech,
I have done what you have described, eg: create user base filters and recipient. so how do i do the last step each configuring the Nprint so that the nprint will go through each of the user filter to generate the html report (which is ready) and send it to the only required recipient .
Hi,
You need to add all users you want to your publish task. Since there will be recipient filters NPrinitng will evaluate and apply filters for each recipient individually (it will just cycle throug all recipients, apply their respective filters and validate if the filters can be applied. For those users where filters cannot be applied because one of the conditions will not be met, report will not be sent.
btw. make sure recipient filters are created for NPrinting connection you use in this report as they are connection specific!
regards
Lech
Hi Lech,
I am using nprint16.2 and i can not seem to see user/group tab. is this only available in nprint17? thanks
see below: