Discussions
Schedule Script Through nlapiScheduleScript
I am trying to call nlapiScheduleScript in a scheduled script to reschedule this script for immediate execution.
it gives me this error when the execution comes to this function it get this error INSUFFICIENT PERMISSION Details: you do not have priviladges to perform this operation.
Can we call nlapiScheduleScript in a schedule script if yes what can be the possible cause of this error
I tried to change the owner of this script to a role with Admin permissions and created a new deployment with this role Execute As Admin is yes but still i get this error, when i do the same in a suitlet it doesnt show me this error and returns the status queued but i dont find it being executed again, this script doesnt use any saved search or record which can be an issue.