Austin Buono's ServiceNow Solutions

  • Home
  • About Me
  • Contact Me
  • Blog
  • More
    • Home
    • About Me
    • Contact Me
    • Blog
  • Home
  • About Me
  • Contact Me
  • Blog

DOWNLOAD ALLL ATTACHMENTS FROM SERVICENOW RELATED TASKS

Detail your services

Recently I had a client request the ability to download all attachments from a parent child Structure of a task relationships.  To give proper credit the below processor was manipulated and adapted from this community article: https://community.servicenow.com/community?id=community_question&sys_id=e225af43db6f67844abd5583ca961959 


To use this solution first you will need to Create a UI action.


Name: Download Attachments

Active: True

Show Update: True

Form Button: True

Script: action.setRedirectURL('exportAttachmentsToZip.do?sysparm_sys_id=' + current.sys_id + '&sysparm_table=' + current.getTableName());




 

Processor code

Use this below code to create a processor that will download all child Attachments:




 


Copyright © Austin Buono ServiceNow Solutions - All Rights Reserved.