Workflow Transition
Workflow Transitions are dropdown fields that give users the opportunity to change the workflow state of a particular object in the system (e.g. transitioning a film from production to post-production).
- Usage
- Configuration
- Examples
The Workflow Transition is used alongside the Screen Header to transition an object from one state to another, pulling from the data model. Workflow Transitions should be unambiguous and mark the transition from one distinct state to another. For example, a Workflow Transition for the production of a film might move from production to post-production to released.
Anatomy
-
Title
-
Workflow state label
Best practices
- Position the Workflow Transition in close proximity to the object whose state it's indicating. This is always at the top of the screen.
- The states in the Workflow Transition should be distinct and reflect a common understanding of the steps of a given process, and they should also reflect the states defined in the data model. Follow the writing guidelines.
Common patterns
With Screen Header
Adding a Workflow Transition to a Screen Header can help users track the primary states of a process on that screen.
Properties
- field – Required. The query that retrieves the data for the workflow state or transition.
- field – Optional. The title of the workflow state.
- – The label for the worklow state.
group
– Optional. A group of properties used to configure the workflow state.- field – Optional. The hex code for the workflow state background color.
- field – Optional. The hex code for the label text color.
- field – Optional. The user's permission to access the component. If a user is not assigned a role that includes this permission, they cannot view or interact with the component.
- Hide – The component is hidden.
- Disable – The component is visible but not cannot be interacted with.
drop-down – Optional. If the user does not have permission to access the component, specifies whether to hide or disable it:
Emitted events
- – The user selects a workflow state transition.
Functions
- – When invoked in an event, displays the current workflow state.
- – When invoked in an event, returns the workflow state and associated properties.
With title and label
Properties
- Status. included and set to
- Published. included and set to
:- not included.
- not included.