HR case - While submitting the HR case, the attached document is not getting attached to the HR case

MahendraBob
Tera Contributor

Hi @Ankur Bawiskar 

The attachment issue was resolved by updating the script.

"new global.VariableUtil().copyAttachment(producer.<variableName>,'<tableName>', current.sys_id);"

However, the same script is being used for another record producer with the same issue, but it is not working there.

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@MahendraBob 

so what error you got?

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

Hi @Ankur Bawiskar 
Attachments  are not showing in HR case comments and work note, in description it is updating with variable name and attached file name, check below image

@MahendraBob 

confusing.

your screenshot says something different

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