Date Context Data Item
Description
Context Data item that contains a date (only contains year, month and day but no time information).
The database column must either be of a date type (e.g. DATE; TIMESTAMP and DATETIME will also work where supported) or of a string type (e.g. VARCHAR, CHAR (whitespaces are removed automatically)), in which case a date pattern must be specified).
The values of this context data item are guaranteed to be of type java.time.LocalDate.
Properties
Context Data Name (
contextDataName) Description
Defines the reusable context data item representing the name and type of a value in the context data.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Database Column Name (
databaseColumnName) Description
The name of the database column to load into the context data in case it differs from the Context Data Name.
Attributes
String
Optional
Example
birthdate
Date Pattern For String Columns (
datePatternForStringColumns) Description
If the database uses a column of any string type (e.g. VARCHAR or CHAR), a date pattern must be specified to convert the value from database to a LocalDate. Invalid values on the database are treated as NULL.
Attributes
String
Optional
Suggested values
yyyy-MM-dd, dd.MM.yyyy
Readonly On Update (
readonlyOnUpdate) Description
If enabled, this context data field is treated readonly during updates of the user data. However, the field will still be persisted while inserting the user.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)
type: DateContextDataItem
id: DateContextDataItem-xxxxxx
displayName:
comment:
properties:
contextDataName:
databaseColumnName:
datePatternForStringColumns:
readonlyOnUpdate: false