i uploaded an attachment in the Virtual agent chat once i uploaded image or file it will created one

mania
Tera Contributor

Hi,

 

From the portal i request an Report an incident in the Virtual agent bot i uploaded an attachment in the Virtual agent chat once i uploaded image or file it will created one Incident number but once i opened particular incident number that attachment is not attached in that particular record.

 

How to solve this issue. Can you please help me it could be helpful.

mania_0-1699357679527.png

 

mania_3-1699357797358.png

mania_5-1699358011125.png

 

Thanks in Advance!

1 REPLY 1

Shree123
Tera Contributor

Hi,

You'll need to amend your flow to add attachment to your incident record.
In the flow, after file picker, add script utility and add

(function execute() {
vaSystem.attachToRecord(vaInputs.<your_file_picker_variable>, 'incident', vaInputs.<your_created_incident_variable>);
})()