State Fields in Workflow

tate fields apply to a single state in a workflow. Similar to a workflow field, use a state field to get and set data within a workflow. NetSuite populates the value of the field when the record in the workflow enters the state that contains the state field. You can use the state field in conditions and actions like the Set Field Value action. The field stores a unique value for each record on which an instance of the workflow runs.

To create a state field, use the Workflow State window or the context panel.

To create a state field:

  1. If you have not already done so, open the workflow in which you want to create the state field.
  2. In select the state in which you want to create the state field, and click New State Field on the Fields view in the context panel.
  3. To edit an state field after you create it, hover over the field name on the Fields view in the context panel, and click the Edit icon.
  4. Continue setting the properties on the Display, Validation & Defaulting, Sourcing & Filtering, and Translation subtabs.
A portion of the context panel showing the Fields view and the New State Field selected.

Leave a comment

Your email address will not be published. Required fields are marked *