Convert Attachment as Binary files.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2020 02:31 AM
Hi,
Is it possible to convert service now attachment as binary files using script. If yes, can you share any test script? I've analysed Service now provide capability to convert base64 and bytes.
Regards,
Suresh
Regards,
Suresh.
Suresh.
Labels:
- Labels:
-
Incident Management
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2020 03:34 AM
Not sure About that. But only method I am able to find out that is getBytes().
Thanks,
Namrata.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2020 11:09 AM
It is not possible to get binary data from attachments in ServiceNow.
You can only get a string that represents binary, but not actual binary object.