Working state

The predefined Working state (WorkingState) enumeration defines selection options for the ‘working state’ of entity types that are considered working state owners (see also Working state owner).

  • The list can be customised.

  • A separate configuration type 'Working state configuration' (WorkingStateConfiguration) with the 'Icon URI' (iconUri) and 'Color' (colorValue) fields is available for the configuration of enumeration values.

The configuration interface provides a Color picker element with the following alternative input options for assigning the Color (colorValue):

  • Enter a six-digit hex value (RGB)

  • Color selection in the color model (tone and intensity).

  • Color selection from the palette of style colors defined by Styles with a unique name.

  • Direct input of the name of a style color (e.g. warnColor)

NOTE◄ When a style color is selected, its name is written in the colorValue text field and not the hex value for the color assigned at that time. Style changes may then also change the Working state color(s).

images/download/attachments/201669159/image-2025-4-15_9-2-46-version-1-modificationdate-1744700566278-api-v2.png

images/download/attachments/201669159/image-2025-4-15_9-3-26-version-1-modificationdate-1744700605930-api-v2.png


Use of 'working state' values

In the 'Current working state' (currentWorkingState) field, an entity refers to an entity of the 'Working state entry' type (for the relevant entity type), which refers to an enumeration value from the Working state enumeration via the 'Working state' (workingState) field.

The enumeration values for Working state also form the basis for the definition of Working state matrix, which can be used to define a ‘default working state’ (defaultWorkingState) for newly created entities.

Numerous other functionalities are based on values from the Working state enumeration:

The following default values and localisations are predefined by default:

Ordinal

Name

Description

Icon URI

Color

German

English

French

0
NEW

empty

empty

#000000

Neu

New

Nouveau

1
RELEASED

empty

empty

#4deb4d

Freigegeben

Released

Autorisé

2
CANCELED

empty

empty

#d12828

Storniert

Canceled

Annulé

3

ACCEPTED

empty

empty

#fffc96

Akzeptiert

Accepted

Accepté

4

FINISHED

empty

empty

#4da9eb

Abgeschlossen

Finished

Achevé