- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 04:31 PM
Hi ServiceNow community,
I've created change templates however when creating a change request, I would like to attach client change documents to the change request so they are attached automatically.
In the template, I did attempt to attach the document however it did not reflect when creating the change request.
Is this something possible to do in ServiceNow? If so, how can I achieve this?
Thanks,
Vimal
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 05:10 PM
HI Vimal,
This possible, but requires a Business Rule to be created on Change Request table.
screenshots below:
BR code for convenience:
(function executeRule(current, previous /*null when async*/) {
GlideSysAttachment.copy(current.std_change_producer_version.std_change_producer.getRefRecord().getTableName()+'',current.std_change_producer_version.std_change_producer.sys_id+'', current.getTableName(), current.getValue('sys_id'));
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 04:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2018 02:59 PM
Hi Pradeep,
Is it possible to copy attachments from incident record to email client templates when you click on the email button in more options button on the form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 05:10 PM
HI Vimal,
This possible, but requires a Business Rule to be created on Change Request table.
screenshots below:
BR code for convenience:
(function executeRule(current, previous /*null when async*/) {
GlideSysAttachment.copy(current.std_change_producer_version.std_change_producer.getRefRecord().getTableName()+'',current.std_change_producer_version.std_change_producer.sys_id+'', current.getTableName(), current.getValue('sys_id'));
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 09:05 AM
Hi Srinivas -
I applied your BR but the attachment seems to attach only on the first save. How can I make the attachment before the first save so that the user has the option to edit the attachment and then re-attach it.
And also two of the same attachments get attached. Can you please help?