Versions Compared

Key

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

...

  • The purpose of Arguments is to parameterize the processing of an order.
  • Constant values and Order Variables can be assigned.

Assignment of Base64 encoded Values

JVM jobs can hold arguments with string values of arbitrary length. 

  • If such arguments are forwarded to later shell jobs then they will be represented as environment variables that are limited in size (OS dependent).
  • If such arguments include special characters such as carriage return, newline etc. then this can break representation as an environment variable.

Users can assign JVM jobs arguments of type string with base64 encoded values:

Plain Text Valuehello world
Base64 encoded Valuebase64:aGVsbG8gd29ybGQK

The prefix base64: specifies the respective data type. JVM jobs will automatically decode bas64 encoded argument values.

Assignment Syntax Examples

The following assignment types are available:

...

  • Use with single quotes

    Input'some value'
    Outputsome value
    JSON"var": "'some value'"



  • Use with double quotes

    Input"some value"
    Outputsome value
    JSON"var": "\"some value\""


    For assignment of empty string values double quotes have to be used:

    Input""
    Output
    JSON"var": "\"\""



  • Use with double quoted values

    Input"some \"quoted\" value"
    Outputsome "quoted" value
    JSON"var": "\"some \\\"quoted\\\" value\""



  • Use with double quoted and single quoted values

    Input"some 'quoted' value"
    Outputsome 'quoted' value
    JSON"var": "\"some 'quoted' value\""



  • Use with $ character from single quoted values

    Input'some $dollar value'
    Outputsome $dollar value
    JSON"var": "'some $dollar value'"
  • Use with $ character from double quoted values

    Input"some \$dollar value"
    Outputsome $dollar value
    JSON"var": "\"some \\$dollar value\""



  • Use with base64 encoded values

    Input"base64:aGVsbG8gd29ybGQK"
    Outputbase64:aGVsbG8gd29ybGQK
    JSON"var": "\"base64:aGVsbG8gd29ybGQK\""

Examples for Variable References

...