How to change the user name of a work note from Scripted REST messege?

KausikSharma
Tera Contributor

KausikSharma_1-1698823215987.png

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

Tai Vu
Kilo Patron
Kilo Patron

Hi @KausikSharma 

It will capture as the User you're using for Authentication.

 

Cheers,

Tai Vu

Jaspal Singh
Mega Patron
Mega Patron

Hi,

You may need impersonate the user using

new GlideImpersonate().impersonate(user);

Check for link with a possible solution.