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
Watz
06/08/2020, 9:08 AM
Perhaps you can call a suitelet instead?
👍 1
a
Ahmed
06/08/2020, 9:34 AM
how can i do that? doesn't that require authorization as well?
b
battk
06/08/2020, 9:39 AM
you probably dont want to circumvent governance limits via suitelets or restlets
battk
06/08/2020, 9:39 AM
netsuite will probably consider that abusive
battk
06/08/2020, 9:40 AM
ideally whatever is sending the request to your restlet breaks up the data into more manageable bits
👍 1
a
Ahmed
06/08/2020, 9:44 AM
Understood . Thanks for guidance . 👍 @battk
b
battk
06/08/2020, 9:52 AM
i recommend reading the SAFE guide, especially Section 2: Manage SuiteScript Usage Unit Consumption