The CreatorCon Call for Content is officially open! Get started here.

GlideSysAttachment.copy() used in Record producer does'nt seem to work in service portal

Nishanth Nagesh
Giga Contributor

Hi Everyone,

I have a record producer based on task table. Have some conditions to create an inc/req accordingly.

GlideSysAttachment.copy() is used to copy the attachments from task record to incident/req. This functionality is working fine when I create a record using "Try it" UI action. But when I try to do the same thing from Service Portal it doesn't work. I can see an entry in Sys_attachment table though.

Please share your inputs.

Thanks

Nishanth

12 REPLIES 12

Hey David,

 

That is a bummer. Maybe I can rig up an event that will push the attachment. Does anyone have a workaround?

 

Glenn

Servicenow's workaround was to use an Async business rule, but I still had inconsistent results using that.  

I was able to fix this in my workflow run script by adding a timer.  It looks like a timing issue when you do it from the portal. All good in the hood now.

 

Glenn