Remove Button Action
Use the Remove Button action to remove buttons from a record form based on conditions, such as the user that views the record or the record's state.
Workflow definitions require a trigger configuration that initiates the workflow, executes an action within a workflow or transitions the workflow from one state to another.
-
For more information about which workflow triggers the Remove Button action supports, see Workflow Triggers Quick Reference.
-
To understand when different workflow triggers execute and which trigger you should use, see Workflow Triggers and the SuiteFlow Trigger Execution Model.
Remove Button Action Parameters
The following table describes the Remove Button action parameters:
Property |
Description |
---|---|
Button ID |
ID of the button to remove from the record form. This can be either a standard NetSuite or custom button id. |
For more information about adding actions to a workflow, including common action properties and conditions, see Action Conditions and Creating an Action.
Remove Button Action Guidelines
Use the following guidelines when working with the Remove Button action.
-
You cannot use the Remove Button action to remove a button added with the Add Button action. To remove buttons added with the Add Button action, delete or inactivate the Add Button action.
-
The default trigger type for the Remove Button action is Before Record Load. Although the Entry and Exit triggers are available, the best practice is to remove the button before the record loads into the browser. In the Workflow FAQ section, see Why do the buttons I have added to the record disappear when I refresh the browser?.