State
One state in a workflow.
| Full name | MFiles.State |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
id | int32 | 1 | State ID. |
name | string | 2 | The name of the state. |
description | string | 3 | The description of the state. |
options | ACTIONFLAGS | 4 | Flags that tell which actions are enabled for this state. |
action_set_acl | ActionSetACL | 5 | The properties of the Set Permissions action. |
action_assign_to_user | ActionSetAssignment | 6 | The properties of the Assign to User action. |
actions | repeated ActionSetAssignment | 7 | Action array. |
action_send_notification | ActionSendNotification | 8 | The properties of the Send Notification action. |
action_set_properties | ActionSetProperties | 9 | Action: set properties. |
action_convert_to_pdf | ActionConvertToPDF | 10 | Action: convert to PDF. |
action_code | string | 11 | Action: run VBScript code. |
restrict_transitions | bool | 12 | True if transitions involving this state must be individually allowed. |
transitions_require_edit_access_to_object | bool | 13 | True if state transitions require edit access to the object. |
check_in_out_acl | bool | 14 | True if the in/out permissions of this state should be checked. |
in_out_acl | AccessControlList | 15 | The in/out permissions of this state. |
preconditions | StateConditions | 16 | State preconditions. (rules) |
postconditions | StateConditions | 17 | State postconditions. (rules) |
aliases | string | 18 | Semicolon-separated list of semantic aliases. |
user_description | string | 19 | The user description of the state. |
state_flags | STATEFLAGS | 20 | Flags that tell different options set for this state. |
agent_action_guid | string | 21 | The agent action GUID of the state, or GUID_NULL if not set. |
Used in fields
StateDecl.state-- The workflow state. The name of the state is inbase_info, and its description in the per-languagebase_info.translations.WorkflowAdmin.states-- The states of this workflow.