Hi, I have a script that is not triggering for all...
# suitescript
b
Hi, I have a script that is not triggering for all users. Is there some role permission that I need to check to ensure scripts are run for all users... or is there some other reason a script may not trigger?
e
Check the script deployment. It can run for specific role, employees, even type, etc.
b
It is set up to run for all roles
e
It's a tricky question without more details.
b
What sort of details ?
e
To check why a script is not triggering, i would ask: 1. What transaction/record is it expected to run on. 2. Is the script Deployed and Active? Is the Deployment active and released? 3. Are there conditions inside the code of the script? 4. What do you mean about not running? Are you logging a response? 5. What roles/employees are the audience of the script. 6. What context (UI, CSV import, etc.) 7. What Event Type: CREATE, UPDATE, etc.
b
I found out what it was... it was down to a permission on a custom record the the script looks at when entering all types of transactions. Some roles had the permission others didn't