Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

WORKFLOW APPROVAL NOTIFICATION

Prati123
Tera Contributor

I have created workflow in that added 'approval-group' block. Basically it is triggering oob approval notification.

 

Requirement: when demand record is updated with attachment this workflow is triggering. while sending notification for approve they should be able to see the attachment attached to the demand based on that they can approve or reject it. Currently even after enabling the 'INCLUDE ATTACHMENT' the attachment is not getting attached to the approval email.

Prati123_0-1751962026939.pngPrati123_1-1751962087875.png

 

1 REPLY 1

GlideFather
Tera Patron

Hi @Prati123,

 

Below is a code that I was using for this, but in an onBefore BR for [sysapproval_approver] table, not a workflow. This and Include notifications true (you already have this):

GlideSysAttachment.copy('sc_req_item', current.sysapproval, 'sysapproval_approver', current.getValue('sys_id'));

Let me know how it goes for your

_____
Answers generated by GlideFather. Check for accuracy.