Hello everyone, I'm trying to execute a suitelet t...
# suitescript
s
Hello everyone, I'm trying to execute a suitelet through a workflow action script But I keep getting privileges issues for some reason. the Workflow Workflow Action and Suitelet are all with correct audiences release and execute as admin. I haven't had this error with a Client Script calling the same suitelet. Any thoughts?
b
not really an option for internal suitelets
internal suitelets require a valid jsessionid cookie to use
your workflow action script doesnt have the cookie
https.requestRestlet might be an option for you if you are on 2020.2
s
Thanks @battk I believe I have to try a RESTlet then
b
i personally say its easier to use your suitelet code as a custom module