unable to send attachment from the record producer to target record while updating

Rohith Sureshk1
Tera Contributor

Hello,

I am working on a requirement where i use a record producer to both creating and updating a record in custom table. 

When creating a record , record producer is sending attachment correctly, But the problem is , while updating the same record , the attachment is not getting added along with old attachment in the target record that is being updated.

 

Any help on how to achieve this?

 

I am using record producer script for updating the record.

Thanks

7 REPLIES 7

Hi ankur ,

 

thanks for the response, but the issue is i am not able to get the attachment of the record producer. When i see the sys_attchemnt table, in table_sys_id, it is showing a different sys_id everytime, not sure how to retrieve the attachment for updating records

 

 

@Rohith Sureshk1 

then possibly it's not possible

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

Dnyaneshwaree
Mega Sage

Hello @Rohith Sureshk1 ,

Please refer below articles:
https://www.servicenow.com/community/developer-forum/unable-to-attach-the-attachments-from-record-pr...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0952728
https://www.servicenow.com/community/itsm-articles/copying-attachment-from-one-record-to-another-rec...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0696061

Please accept my solution if it works for you and thumps up to mark it as helpful.

Thank you!!

Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru