Hi @michoel: we need this UE running in web service context.
b
battk
09/06/2019, 9:40 AM
internal suitelets will only work with if the JSESSIONID cookie is set to a valid value on the request sent to it
battk
09/06/2019, 9:41 AM
from the user interface, you can get the JSESSIONID by creating a formula field with the formula {nlsessionid} and using the value from the field to set the cookie on the headers of a request
battk
09/06/2019, 9:44 AM
if you must do this from webservices, you can get a valid JESSIONID from the login operation
battk
09/06/2019, 9:46 AM
you can set that JESSSIONID on a field to use in your user event, or skip the user event and just directly make a request to the suitelet
battk
09/06/2019, 9:47 AM
I personally recommend against playing with the JESSIONID
battk
09/06/2019, 9:48 AM
if possible, I would try using the script file of the suitelet as a library for your user event
m
Mrudul
09/06/2019, 10:03 AM
Okay thanks, i will try the last option and see how it goes