- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 08:23 AM
Hello, i am trying to add an attachment to the user record of a user when the attachment is attached, it will then update the user record with the attachment. would this be done in a BR? if so could you please provide an example or if someone has done something like this in the past, any help would be appreciated.
Solved! Go to Solution.
- Labels:
-
Script Debugger
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 08:29 AM
You can use the Below script to copy attachment from catalog item to current logged in user
GlideSysAttachment.copy('sc_req_item', current.sys_id, 'sys_user', gs.getUserID());
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2022 08:29 AM
You can use the Below script to copy attachment from catalog item to current logged in user
GlideSysAttachment.copy('sc_req_item', current.sys_id, 'sys_user', gs.getUserID());
Palani