Versions Compared

Key

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

...

Tip

Process field notations may also be embedded in the JSON string. This can be used in scenarios where you know precisely the data you want to map. For example, if the workflow logic dictates that you know row 1 column 2 of a table field should always be injected into a specific JSON field, it may be expressed in notation form like:

{“Cell Value”:{p_Table Field[0][1]}}

Notation can also be helpful in cases where the JSON expects descriptive fields, like:

{“Item Count”:2, “Items”:[“Element 1”,”Element 2”]}

Which would be expressed in notation form like:

{“Item Count”:{p_MV Field_length}, “Items”:[@@MV Field@@]}

Additionally, if you wish to concatenate multiple single value fields, notation can express that like:

{“WholeName”:”{p_First Name} {p_Last Name}}

...

Specifically when using notation, basic calculations can also be performed with appropriately typed fields:

{“Invoice Total”:”{p_Invoice Amount} + {p_Tax Amount}”}

...

Optionally, the JSON output can be written to a process field on the original process.

...