Trigger email notification on task closure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2018 11:11 AM
Hi all,
I have a simple workflow with two tasks, but my RITM has an attachment included. This attachment is added on the first task and I would like for it to be included in the email notification that goes out to requester when the request is completed.
My closed email notification is on the catalog task table and has the "include attachment" checkbox selected. I tried adding the advanced condition below so that the email is fired once the second task is completed instead of the first but nothing is being triggered.
Can anyone assist with this? Or if anyone knows a more practical way of managing this even better!
Advanced condition:
if(current.wf_activity.name == "Fulfill sharepoint site request"){
answer=true;
}
else answer=false;
Thanks,
Grace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2018 07:42 AM
I'd ask a few things to get a better idea of what you're doing:
-Is the notification being sent by the workflow, or by a condition/event?
-Do you customers have the ability to see Catalog Tasks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2018 08:42 AM
Hi Shane,
The notification is being sent by a condition:
Active changes to false
Item is SharePoint Site Request
Advanced condition:
if(current.wf_activity.name == "Fulfill sharepoint site request"){
answer=true;
}
else answer=false;
Only the fulfillers who are our ITIL users can see the tasks, but not the requester.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2018 10:44 AM
But off of Catalog Task right? I guess I don't agree with triggering a customer notification off a record they never see.
Plus, in this case, you're having issues any time you have more than one Catalog Task. It probably looked simpler when you first set it up, but in the long run I think it will cause you headaches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2018 11:20 AM
Yes off a catalog task. I agree, I'd rather trigger off the RITM but when I've tried that the attachment will not be included.
It does cause headaches...especially because the task advanced condition needs to be specified to the task so it can trigger correctly