How to change the user name of a work note from Scripted REST messege?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 12:21 AM
Hello Everyone,
This worknotes are added from the scripted rest, at that time I want to modify the user name from scripted REST,
Is there any way to do this?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 02:07 AM - edited 11-01-2023 02:07 AM

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 02:12 AM
Hi,
You may need impersonate the user using
new GlideImpersonate().impersonate(user);
Check for link with a possible solution.