Add attachment to notification

DebbyDebby
Tera Expert

I would like to add an attachment to notification after the catalog task is closed. The notification is working but it is not capturing the attachment. 

 

Note: The attachment field is one of the catalog variables, not the default attachment field

1 ACCEPTED SOLUTION

DebbyDebby
Tera Expert

I have figured it out. In workflow studio, i used 'Get variables' action to get the variable that has the attachment and use copy attachment action to copy it to the catalog task and finally used send notification action to send the attachment with the notification that i already created (I checked the 'include attachment' box in the notification). This works perfectly for me

View solution in original post

6 REPLIES 6

Hi @DebbyDebby ,

 

Change the table name instead of sc_req_item to sc_task.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

DebbyDebby
Tera Expert

I have figured it out. In workflow studio, i used 'Get variables' action to get the variable that has the attachment and use copy attachment action to copy it to the catalog task and finally used send notification action to send the attachment with the notification that i already created (I checked the 'include attachment' box in the notification). This works perfectly for me