Hi <@U29QCJQF3>: we need this UE running in web se...
# suitescript
m
Hi @michoel: we need this UE running in web service context.
b
internal suitelets will only work with if the JSESSIONID cookie is set to a valid value on the request sent to it
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
if you must do this from webservices, you can get a valid JESSIONID from the login operation
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
I personally recommend against playing with the JESSIONID
if possible, I would try using the script file of the suitelet as a library for your user event
m
Okay thanks, i will try the last option and see how it goes