I want to attachment(s) copy from demand to enhancement, is it possible ?

Ramanjaneyulu C
Tera Contributor

I want to attachment(s) copy from demand to enhancement, is it possible ? [when demand is turned into a project, attachments do carry over].

5 REPLIES 5

Anantha Gowrara
Kilo Sage

@Ramanjaneyulu C Yes you can copy attachment from demand to enhancement record. Since its not OOTB you must modify OOTB create enhancement action and include below line

-----------------------------------------------------------------------------------------------

var attach = new GlideSysAttachment(); // copy attchment from demand to enhancement
attach.copy('dmn_demand', demand_sys_id, 'rm_enhancement', enhancement_sys_id);

can you please reference link 

I did not OOTB script