I'm facing a weird issue when trying to send mass notifications through a loop in a workflow. A client required to send to each responsible of a project a mal with a summary of the projects without any update on the last 10 days or more, so I create a couple temporary tables, one to do the calculations and html detail of each row and one for the summary according the reponsible.
The package is called from the workflow and works fine, the problem stars when looping from each record, the steps recover the data from the temporary table and save it to the request with a ksc_store (the body is splitted in many parts to have more than 4000 characters) and the user ids to send are save in other fields.
When its time to send the notification I used the settings "Use a user defined token" and specified the token [REQD.TO_EMAIL] which has the value of the user, but every loop the mail is not send but if I specify a user name and declare a user of the system the mail is sent.
The field had a text field validation but then I changed to a Autocomplete validation but that didn't work either.
Another thing I could realized, it seems if the mail is too big is also not send. Do anyone knows if exists a limitation with this?, the mail could contain more than 40 000 characters.
Where are you looking that I'm using [REQD.TO_EMAIL] instead of using [REQD.P.TO_EMAIL], in the screenshot I send I'm using (and I just checked again) and I'm using [REQD.P.TO_EMAIL] when configurating the notifications or is in another place.
Our comments were based on your description of your problem: "When its time to send the notification I used the settings "Use a user defined token" and specified the token [REQD.TO_EMAIL]".
In looking at your screenshot, I think your problem is that you have checked the box for "Don't send if obsolete". I am not sure what the complete label is in your instance but it starts as "No enviar s...". This option suppresses the notification if it is no longer relevant because the workflow has moved on.
You were right, after disable the No send if obsolete, notifications were send it again Now I'm facing a second problem, this is a loop, if I set in automatic the steps inside the loop, not all notifications are sent (probably the PPM is busy calculating or sending emails, but if I do it manually each loop all notifications are sent.
My guess at this point is that PPM is looking at only the last instance of execution for the workflow step. Try adding a sleep command to the execution step so it waits at least as long as the cycle time on the notification service.