Set Field Required Action
Use the Set Field Required action to set whether a record form field is mandatory or not. Required fields in NetSuite appear with an orange asterisk next to the field name. For more information about executing the action dynamically if the record meets certain conditions, see Using Conditional Fields with Actions.
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 Set Field Required 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.
Set Field Required Action Parameters
The following table describes the Set Field Required action parameter:
Parameter |
Description |
---|---|
Body |
Select to execute the action on one of the fields in the main body of the workflow's base record type. |
Sublist |
Select to execute the action on one of the sublists in the workflow's base record type. If selected, choose the correct sublist from the list. |
Field |
Name of the field on which to change the required configuration. |
Mandatory |
Make the field mandatory or not. If the field was previously mandatory, clear this box to make the field optional. |
For more information about adding actions to a workflow, including common action properties and conditions, see Action Conditions and Creating an Action.
Set Field Required Action Guidelines
If you use the Set Field Required action on a box field, NetSuite does not make the field required on the record form when you save the record.