Change approval notification

Vijaykumar K
Tera Contributor

Hi all,

 

I need a help on below request.

Whenever the change request is sending for approval notification to the approver, then it must include attachments of that change request. Currently that notification is created on sys approval table and include attachments option is not working. Pls suggest.

 

Thanks

10 REPLIES 10

Hi @Aniket Chavan i will provide a background of the request.

1.We have a email notification on sysapproval_approver table

2. It will send when an event is fired 

3. Approver will receive change request details along with approve/ reject/ view the change option(hyper links) on that notification.

So my requirement is .. along with that approval notification, approver should receive attachment which attached to the CR. 

I have configure the suggested BR on sys approval table but it's not working as expected. Pls refer attached and suggest if I'm doing it in wrong way.

DocScanner Jan 22, 2024 6-12 PM.jpg

 

Thanks

Hello @Vijaykumar K ,

Considering your existing business rule, it might be worth exploring email scripting to enhance the logic. Alternatively, if you've already set up the business rule, these links can guide you on optimizing its utilization for your specific requirements:

Feel free to review these resources and adapt them to better suit your needs. If you have any questions or need further clarification, don't hesitate to ask.

Best regards,
Aniket.

What are you trying to accomplish here?

 

at first glance it looks like your trying to copy the attachment from the change request to an incident, i thought you wanted to include it in an approval?

 

here is something I did to copy an RITM to an approval record

 

var grCopy = new GlideRecord('sc_req_item');
grCopy.get(current.document_id);
GlideSysAttachment.copy('sc_req_item', grCopy.getUniqueValue(), 'sysapproval_approver', current.getUniqueValue());
 

Did you figure this out? 

Hi @DanielCordick  , Yes. I have tried the said approach. Firstly created a befor, update BR on approval table.

2.On notification table marked 'true' for "include attachments ",  as tested still user is not receiving CR attachment as mail Attachment.. pls refer below snap and please suggest .