Workflow Configuration
Workflow Configuration allows you to override default state appearance set in Global Configuration for a given workflow. To set workflow configuration, simply add your configuration in workflow description using Simplified JSON Syntax.
Warning
After you have made changes to workflow, you’ll need to update metadata cache (see Update Workflows).
In this table you’ll find all possible options that you can set for your workflow:
Option |
Values |
Description |
---|---|---|
|
|
The default shape for current workflow’s states, for full list of possible options, see JSON State Shape values |
|
hex color |
The default color for current workflow’s states |
|
hex color |
The default color for the object’s prevous state |
|
hex color |
The default color for the object’s current state |
|
hex color |
The default color for the object’s next possible states which are not selectable |
|
hex color |
The default color for the object’s selectable possible states, this apply only when Allow State Transitions is enabled |
|
hex color |
The default color for the current workflow’s no state state |
|
|
Whether to use colors to fill or for stroke color |
|
|
When |
|
|
The font style for current workflow’s states text, use :- |
|
|
The size in pixels for current workflow’s states text |
|
|
The width in pixels for shapes stroke, 0 for no stroke |
|
|
Whether to use automatic shapes for this workflow or not, this will overrides the |
Example
This configuration set in workflow description will set all its state shapes to rectangle
and change colors of current
and selectable
states:
{shape:rect, current:#ff8c00, selectable:#f00}
And this is the resulting graph for this workflow only: