Hi everyone , I have created a Restlet script in w...
# suitescript
a
Hi everyone , I have created a Restlet script in which script governance limit has exceeded , To resolve this issue i want to call another Restlet from inside a Restlet script But the issue is that it requires authorization. How can i successfully call a Restlet from inside a Restlet by solving authorization issue . Any help is highly appreciated . Thanks
w
Perhaps you can call a suitelet instead?
👍 1
a
how can i do that? doesn't that require authorization as well?
b
you probably dont want to circumvent governance limits via suitelets or restlets
netsuite will probably consider that abusive
ideally whatever is sending the request to your restlet breaks up the data into more manageable bits
👍 1
a
Understood . Thanks for guidance . 👍 @battk
b
i recommend reading the SAFE guide, especially Section 2: Manage SuiteScript Usage Unit Consumption
👍 2
a
Thanks alot . I would look into it 👍🏻