Send email to assigned to only once

shruti2bhosale
Tera Contributor

We have a requirement to send email notification to assigned to person of all catalog tasks only once even multiple tasks are assigned to same person.

with all sc tasks assigned to him.

8 REPLIES 8

Mark Manders
Mega Patron

Is this a daily thing? Because the requirement doesn't make sense as to how it is formulated 'send only once, even if multiple tasks are assigned. You need to schedule this, but you aren't sharing any information on that from the requirement. 

Normal notifications would trigger when a task is assigned, but that is something you don't want. And we can't use that logic to 'send only once', because then you would never send it ever again, after the first assignment.

The best thing to do is to either use a scheduled job or a flow that is triggered on your frequency and looks up all users that have an open sc_task assigned to them and trigger the notification for each of them. Use an email script to collect the sc_task in the notification.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

shruti2bhosale
Tera Contributor

It is daily thing until user close the task.Only Once means if same user have different tasks assigned then only one notification  with all catalog task numbers assigned to him until he close all task of the RITM.

 

So this is not for all sctasks assigned to the user, but defined per RITM? 

Then run the flow daily on RITM level, find all SCTASKS and trigger the notification. Use an email script to find all the sctasks assigned to the user (that are still active).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Yes they wand one notification of all ctasks assigned to the user per RITM.

If another RITM then other ctasks with RITM detail to user again.