Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Is there a way to check specific permissions for script execution?
Hi There
I have a map reduce script that is triggered from a task.submit on a workflow action script.
The execution of the scripts works as follows:
1 A 'create invoice' button is added to a sales order record with a workflow action
2 once the button is pressed, the workflow moves to a state where a workflow action script is triggered
3 The workflow action script uses the N/task module to trigger a map reduce script
The map reduce script can only be executed as an administrator
The issue with this is that, roles which do not have permissions to create invoices (which is what the map reduce script does), can do so because of the set up of the workflow and the scripts.
Tagged:
0