Send an email with attachments from ONLY the child sc task NOT the parent RITM attachments as well

Tylerjknapp
Tera Contributor

Hi everyone, 

i have a requirement to trigger an email that is sent when a specific sc_task is closed on an item in our service catalog. I've tried a couple different methods so far and none of them are giving the desired outcome. The one that came the closest was firing off an event and using an email template with the "Include notifications" checkbox checked. The problem with that approach was that it would include ALL attachments from the parent record and I could not figure out how to change the target record to the actual child task and not the parent RITM. We have contracts/agreements that are uploaded for that sc_task and they need to be emailed to a specific email upon being uploaded, but the email should only contain the attachments that were attached as part of that specific SCTASK. If the end user were to accidently attach something to the parent RITM that was being included on the email that I got to work so I figured I'd reach out here and see if anyone has any idea.  Any advice on how you can trigger a notification from the workflow and have it INCLUDE the attachments of ONLY the specific SCTASK. 

1 ACCEPTED SOLUTION

Ok. But am I right about 1 RITM and 2 SC_TASKs?

Again, create the notification, triggered by event and fire the event in your worflow

View solution in original post

5 REPLIES 5

Yaraslau
Tera Guru

As I got it right you have 1 RITM with Flow and 2 SCTASK.

If yes, create triggered notification with checkbox 'Include Attachments' for sc_task table and send it from Flow

find_real_file.png

Also firstly you need to take appropriate sc_task in your flow, but if you create your task there it will be easy 

 

Please mark it as helpful, so I will get my points!

We are using worfklows not flow designer. 

Ok. But am I right about 1 RITM and 2 SC_TASKs?

Again, create the notification, triggered by event and fire the event in your worflow

asifnoor
Kilo Patron

Hi,

Refer to this article. This might help you.

Add Attachments to Email

Mark the comment as a correct answer and also helpful if this has solved your problem.