How to populate an attachment variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2024 03:23 AM
Hi,
I have a record producer, where I have an attachment variable.
From an onLoad client script I am getting a png file from external source through REST API in a base64 format
Now the question is how to populate this file to the attachment variable?
I have gone through the GlideSysAttachment APIs but that attaches the attachment to a table record. How to populate the attachment directly to the variable?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2024 07:21 AM
will the file be same always which you are fetching?
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2024 12:58 AM
No it wont be the same file