need to copy attachments from defect table to story though BR
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 05:36 AM
need to copy attachments from defect table to story though BR
if attachments are there in defect and enhancement record it should be copied to story record while creating story from those two records ffrom BR
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 07:52 AM - edited 09-26-2024 09:42 AM
Try looking at OOB BRs for that:
https://<instance>.service-now.com/sys_script_list.do?sysparm_query=GOTOnameSTARTSWITHCopy%20attachment&sysparm_view=
and:
and for the API:
Use the following in a BR defined on rm_feature table.
new GlideSysAttachment.copy('rm_feature', current.sys_id, 'rm_story', current.sys_id);