Versions Compared

Key

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

Description

This is a simple ActionHandler used to set process variables.

...

Class

Code Block
com.dooris.bpm.actionhandler.ProcessVariableSetter

Parameter

Parameter

Default value

Description

Valid examples

name

Name of the parameter being set, i.e. "boolaccepted"

timeOfDispatch

value

The value that the variable should assume. Can also be a placeholder: ${year}_${persnr}

${SYS.NOW. dd.MM.yyyy HH:mm:ss}

${expressversand}

replaceTokensInValue

true

If the replaceTokensInValue is set to be false, then the content of the given variable will not be resolved at the time of creation!

searchInJson

null

Here the JSON path for a specific part of the returned JSON file is entered. (only basic JSON path is possible, no * is accepted for example)

Can be used in combination with HTTPRestHandler.

see example down below

The pre-defined variable ${NOW}

With ${NOW}, the current date can be written to a variable. If only ${SYS.NOW} is called, the format DD.MM.YYYY is returned. In addition, everything supported by Simple Date Format can be passed. For example: ${NOW,dd.MM.yyyy HH:mm:ss}

...