Question

ServiceNow Delete Attachment

  • 20 April 2023
  • 2 replies
  • 75 views

Badge +1

Using the ServiceNow Delete Attachment action, SysID is required. My dilemma is that I do not know the SysID. How do I gain the SysID from ServiceNow based on attachment name so that I can automate the deletion of the file?


2 replies

Userlevel 5
Badge +10

@Jeff Cook Howmet  this might help you 

https://www.servicenow.com/community/now-platform-forum/how-do-you-get-the-attachment-s-sys-id-that-is-on-the-kb/m-p/1092986

Badge +1

Thanks. But, I can get the sysid manually as described above but within Automation Anywhere, I want to delete an attachment by file name. I don’t have access to the SysID from within Automation Anywhere. 

So, how do I get the SysID of the attachments to feed into the ServiceNow Delete Attachment action. The only param available in the action is SysID.

Thanks,

Jeff

Reply