Gaining access to attachments in the Conversation Task table on the associated Catalog Task record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:04 PM
Hello. I have catalog items that have an attachment variable. When the virtual assistant presents this catalog in a conversational manner, the file gets attached to the sys_cs_conversation_task record. I would like to script a way to make this attachment available on the catalog task record, but I don't know how to dot walk to the Conversation Task from the catalog task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 12:58 AM
Hi @Rachel55 !
To copy an attachment from the variable to the catalog task record, you can use the following script snippet:
vaInputs.file is the attachment variable holding the file.
vaInputs.sys_id is the Sys ID of the catalog task (sc_task).
This method attaches the file directly to the catalog task record without needing to dot walk through the conversation task.
If this solution works for you, please hit the Helpful button to let others know it helped. Thanks!