How to copy attachment from attachment type variable to attachment box in agent workspace

PK16
Tera Expert

Hi,

 

Can you help me with the code to copy an attachment from the attachment type variable to the attachment box in the agent workspace?

find_real_file.png

 

Regards,

PK

1 ACCEPTED SOLUTION

Hi,

so it's a catalog item or record producer

I have shared solution here on how to copy attachment variable file to target record

enhance it for your case

Disable ZZ_YY prefix from attachment when added through record producer

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you talking about attachment field type or variable?

what form is that?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Variable. It is present in the catalog.

 

Thanks,

PK

Hi,

so it's a catalog item or record producer

I have shared solution here on how to copy attachment variable file to target record

enhance it for your case

Disable ZZ_YY prefix from attachment when added through record producer

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader