Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typeflat
separatorpipe
printablefalse

Overview

Excerpt

One or more conditions“conditions" can be set for a trigger for a named event in the workflow.

Adding the "initial":true condition to a trigger listens for the trigger event that occurs when the document state is the workflow's initial change to the state for a workflow applied to a document.

This trigger will only listen listens for the first transition into a state. The the initial state

  • the condition is boolean with a value of true or false

and can be constrained to a single named state in the workflow by using together with the "state" condition.

When the named workflow event occurs, the trigger will check checks that any required condition is met , and if met set sets one or more actionsif they are met.

"
Info
If

Constrain the initial

" condition is added

condition to a single named state in the workflow by using it together with the "

final

state" condition

to an event, the condition is

. The two conditions used together are evaluated as an

OR

AND function.


JSON Condition

JSON Code

Note

"initial":(boolean true/false)

Code Block
"conditions":
[
	{"initial":true}
],


The trigger action will occur occurs if the current state is the initial change to a state.

The initial condition can be is constrained to a named state by including the json trigger state condition

  • "conditions":[{"initial":true},{"state":"Review"}],

The initial parameter value is boolean

  • "initial":true

  • "initial":false

Example on-change-state event

Insert excerpt
"on-change-state " event"
on-change-state " event
nopaneltrue


JSON trigger conditions

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "jsontriggercondition" and space = currentSpace ( )

Related Pages