unable to send attachment from the record producer to target record while updating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 02:15 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 03:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 05:30 AM
then possibly it's not possible
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 03:26 AM
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!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru