how to download Attachment from the incident ticket using Servicenow Orchestration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 09:43 PM
I need to download the Attachment from Incident Ticket when the Ticket is create and do some excel manipulation in that file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2016 02:04 PM
Was anyone able to solve this?
I have the same issue and I can pass the parameters to the mid server, except for the actual fileContent, the filename parameter is passed fine. I suspect it is the follow:
var fcParam = {"name":"fileContent","value": attachmentData};
executionParam.parameters.push(fcParam);
As when I check the mid server logs fileContent returns as null. Is there a different syntax I should be using if I want to push it to the fileContent parameter?
Or is it possible to write it overwrite a input variable with the content and use that to push to through to the script include? I'm not sure if I have the right syntax to push the fileContent value for use.
Felix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2016 02:28 PM
FWIW: I have a job which exports attachements daily. It uses a utility developed by Jason Petty and is available on the Share site
If the link doesn't take you directly to it, search for "Export Attachments Tool".
It is straight forward in it's setup and has a 4 star rating. ( I'd give it 5 ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2016 05:39 AM
Thanks Steve I'll take a look. Has this been tested on Geneva and up by any chance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2016 05:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2016 06:02 AM
Strange,
I can't seem to import the update set into our instance (Geneva). No errors . I wonder if it's the formatting of the xml. Is it possible to include what you have in your script include? I feel I am just missing something on my end and the custom activity is causing me issues.