Convert Change Request to Story

Jan_hofer
Tera Contributor

Hello all

 

How can I specify in a UI action that the attachments from a change request are copied and pasted into a story?

 

I already have the UI action to convert the change to a story but the attachments are not yet included.

 

Thanks for Help

1 REPLY 1

Jaspal Singh
Mega Patron
Mega Patron

Hi Jan,

You can use GlideSysAttachment.copy() however, would not recommend as it will increase storage size over the period of time. You can use related list functionality instead.

Follow link and try to create a relationship to show attachments instead.