Scenario
A workflow has been set to execute as Administrator. Upon switching to a custom role, the workflow did not execute the actions as expected. Example: Set value on a custom field upon click on a button.

Solution
An action that is triggered by a button will be recognized as a Client Side trigger. As a result, the Execute As Admin setting in the workflow will not take effect.
As an alternate solution, the actions needed to be done can be implemented using a Workflow Action script.