Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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.