PX Insufficient Privilege Error
I installed a PX through the event manager. The PX ran manually in the development environment. When the event was trigger by a change to the manufacturer table (as plan) the event failed and the error was insufficient privilege. I added additional roles and also tried different modes (sync, async) with no success. We are not able to determine what action is causing the error or if it happening on sign-in. Anyone have a suggestion on the cause or how to trouble shoot this problem?
Leaving the roles field blank will run the PX with the user’s privileges. The only reason to give a PX privileges is if a user who triggers it might not have sufficient privileges. I suppose another reason would be to apply filtering based on a restricted role. If you give the PX privileges then I always include My User Profile in case the px does anything that requires profile look up like a file operation–preferred IFS. You can give the PX more privileges than necessary so I usually have a PX role with god/dess prvileges. It will only do what the code does.