I want to attachment(s) copy from demand to enhancement, is it possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 05:27 AM
I want to attachment(s) copy from demand to enhancement, is it possible ? [when demand is turned into a project, attachments do carry over].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 05:31 AM
@Ramanjaneyulu C Yes you can copy attachment from demand to enhancement record. Since its not OOTB you must modify OOTB create enhancement action and include below line
-----------------------------------------------------------------------------------------------
var attach = new GlideSysAttachment(); // copy attchment from demand to enhancement
attach.copy('dmn_demand', demand_sys_id, 'rm_enhancement', enhancement_sys_id);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 07:26 AM
can you please reference link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 08:04 AM - edited 10-01-2024 08:04 AM
Reference link for GlideSysAttachment API - https://developer.servicenow.com/dev.do#!/reference/api/vancouver/server/no-namespace/c_GlideSysAtta...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 02:53 AM
I did not OOTB script