Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This validator checks validator checks if fields are set/empty or have/have not haven't changed on the transition screen.


Configuration

UI Expand
titleFields

Define Select the fields field to be validated then choose from the following options whether the Validation:

  • is required
  • must be empty
  • must be changed
  • must not be changed
UI Expand
titleValidation options

Choose from one of the following options (multi-choice is possible)checked, and in a subsequent step the desired behavior. The following options are available:

f the create transition is triggered by a mail handler, the validation will be skipped
OptionDescription

If the transition is triggered by a JWT post function, the validation will be skipped.

If the transition is triggered by a bulk operation, the validation will be skipped.

If the create transition is triggered by a clone operation, the validation will be skipped.

is requiredThe specified field must have a value. If no value is present, the condition will fail.
must be emptyThe specified field must not have a value. If a value is present, the condition will fail.
must be changedThe specified field must have been updated during the transition / on the transition screen.
must not be changedThe specified field must not have been updated during the transition / on the transition screen.



UI Expand
titleError messageValidation options

Include Page
DECADIS:_snip_skip validation
DECADIS:_snip_skip validation


UI Expand
titleError message

Include Page
DECADIS:_snip_error_message_validator
DECADIS:_snip_error_message_validator


Click on the Add translation button and choose the desired language to be translated to.

Translations will be displayed based on the user's language setting.

UI Text Box
typetip

If you want to use this functionality in a condition instead, have a look at the following condition: Fields required

Add an optional error message to show when validation fails.

Location

Define where the error message should be displayed.

Message

For the message content to be displayed when an error occurs, enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

UI Text Box
typetip

Test your expression by clicking the play button on the top right of the expression box.

UI Button
titleAdd translation

UI Text Box
iconfalse
typeinfo



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
cqllabel = "use-case-workflow" and space = "JWTSDC" and parent = currentContent(ancestor in ("32215768","32215717")


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionChecks Check if fields are set/empty or have/haven't changed on the transition screen.
Label

Status
colourRed
titlestaff pick



Page properties
hiddentrue
id1


Mapped(tick)
Notes

For more info, visit the following page.