PreferenceDefinition

The Preference Definition is immutable.


Properties

string
classifier Required

unique indetifier for this preference definition. It should be of type :. e.g vrops:myworkflow. This is immutable.


boolean
constrained Required

true if user preference is selected from list of values (dataType should be number or string), false otherwise. This is immutable.


string
dataType Required

user preference value data type. This is immutable.

Possible values are: BOOLEANINTEGERSTRING


string
defaultValue Required
Description not available

string
name Required

Display name.


array of string
allowedValues Optional

array of allowed values to select from when constrained is true.. This is immutable after creation.


string
description Optional

Description for user preference


string
id Optional

UUID for preference definition. This is immutable.


number
maxValue Optional

maximum value for user preference. Only valid if user preference type is number. This is immutable.


number
minValue Optional

minimum value for user preference. Only valid if user preference type is number. This is immutable.

JSON Example

{
	"classifier": "string",
	"constrained": false,
	"dataType": "BOOLEAN",
	"defaultValue": "string",
	"name": "string"
}
Availability
Added in 32.0
Property Of

InlinePreferenceDefinitions
Returned By

Get Preference Definition

Feedback

Was this page helpful?