Automatically Add Attachment from Idea to demand to story table

Dileep Raju
Giga Guru

Please someone Help me
When we create Idea from portal and then create Demand Record and then story Record. Automatically Attachment Should  Populate from Idea to demand to Story.

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

You can add Business Rules on the Demand and Story table to copy the attachment from Idea record. 

Use the GlideSysAttachment.copy function

https://docs.servicenow.com/bundle/vancouver-api-reference/page/app-store/dev_portal/API_reference/G...

 

Below threads may help

 

https://www.servicenow.com/community/developer-forum/copy-attachment-from-idea-to-demand/m-p/1632192

https://www.servicenow.com/community/developer-forum/copy-attachments-from-one-record-to-another/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

1 REPLY 1

SanjivMeher
Kilo Patron
Kilo Patron

You can add Business Rules on the Demand and Story table to copy the attachment from Idea record. 

Use the GlideSysAttachment.copy function

https://docs.servicenow.com/bundle/vancouver-api-reference/page/app-store/dev_portal/API_reference/G...

 

Below threads may help

 

https://www.servicenow.com/community/developer-forum/copy-attachment-from-idea-to-demand/m-p/1632192

https://www.servicenow.com/community/developer-forum/copy-attachments-from-one-record-to-another/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.