...
A prefix is the part of the label up to the first separator (underscore "_" or hyphen "-"). See Configuring the Viable States macro.
The prefix must be unique within a state swapper macro set. I.e. each selection should start with the same prefix.
...
It is permissible for the title, i.e. the selection itself, to contain spaces.
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Not defined,grey,status-notdefined;Draft,yellow,status-draft;In Progress,blue,status-inprogress;Approved,green,status-approved;Rejected,red,status-rejected; |
Special character
The Status parameter must not contain special characters in the character string for the label.Examples See Configuring the Viable States macro.
- Keywords may not contain special characters
Special characters such as "_" and "-" act as separators and are therefore permitted.
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Not defined,grey,status-notdefined;Draft,yellow,status-draft;In Progress,blue,status-inprogress;Approved,green,status-approved;Rejected,red,status-rejected; |
Uniqueness
The Status parameter must be unique in the string for the label. See Configuring the Viable States macro.
- Keywords must be unique within a selection set.
Because of the direct relationship between status and its label and therefore their interaction, it is necessary for keywords to be unique. Otherwise, it is not clear which selection is to be set. See xxx