- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 01:58 AM
Hello All,
In Virtual Agent I have created a topic, in which I should update an Incident with Attachment provided by end user in Chat Bot. I am using File Picker to Attach the file. I have tried using 'vaSystem.attacheRecord' and tried using script action and GlideRecord the 'sys_attachement' table. But it didn't worked. Can anyone suggest me how to update the Incident Record with provided Attachment in Virtual Agent.
Thanks & Regards,
S.Swaroop.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:40 AM - edited 02-23-2023 02:40 AM
hi @swaroop ,
After the file picker use the script action as :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 03:12 PM
I just tried this and it works:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 03:29 AM
Hello Akash,
The script which I am writing and mentioned by you is correct and working, but mistake done by me was, I have placed script utility in the end. Now I have kept after file picker like said by you and it worked.
Thanks You So much.
Thanks & Regards,
S.Swaroop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 01:06 AM
Can this also be done for RITM in the same code, or do I need to make a separate topic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:44 AM
Is there solution for this? I am trying to save attachment selected by File picker into Case.