Editing a State
Edit an existing state to change state properties or create or edit existing workflow elements. Edit a state to make changes to the following workflow elements:
-
State properties
-
Actions, including action properties and conditions
-
Transitions, including transition properties and conditions
-
State fields
To edit a state:
-
If you have not already done so, open the workflow that contains the state that you want to edit.
-
Select the state in the diagrammer and click the Edit icon on the State tab in the context panel.
-
Edit the following state properties:
Property
Description
Workflow
Name of the workflow that contains the state. This field is not editable.
Name
Name of the state. If you edit the name of an existing state, the Workflow History subtab shows states that changed names while the workflow runs. See Deleted and Renamed States.
Script ID
Custom script ID for the state. NetSuite prepends
workflowstate
to the value. To edit this field, see Editing a Workflow State Script ID.Description
Optional description for the state.
Do Not Exit Workflow
Indicates that the workflow instance does not terminate when the workflow completes the actions in this state.
If you create a transition from this state to another state, this property is disabled. Also, this property is disabled if there is a transition from this state to another state.
For more information about using this property, see Non-Exiting Workflow States.
Start State
If checked, indicates that this is the entry state in a workflow. This field is disabled if it is the current start state for the workflow.
If you create a transition to this state, or if you enable this property for another state, NetSuite unchecks this property.
-
To make changes to actions, on the Actions subtab, click Edit next to an existing action. For more information, see Working with Actions.
-
To make changes to transitions, on the Transitions subtab, click Edit next to an existing transition. For more information, Working with Transitions.
-
To make changes to custom fields, on the Fields subtab, click the field name to edit it.
-
Click Save save the changes to the state.
Editing a Workflow State Script ID
When you create a state, NetSuite automatically assigns the state a script ID. Change the script ID to use the script ID as a reference to the state in a script.
The script ID must be must be lowercase. It cannot include spaces or exceed 27 characters. NetSuite prepends workflowstate
to the value when you save the changes.
To edit the script ID for a workflow state:
-
If you have not already done so, open the workflow that contains the state that you want to edit.
-
Select the state in the diagrammer and click the Edit icon on the State tab in the context panel.
-
Click Change ID.
-
In the Change Script ID window, enter a new scipt ID. You can prepend an underscore (_) for readability.
-
Click Save.