Dot (.) Notation Syntax for Validation Request Condition in Trigger

This topic describes how to validate trigger requests with a condition using the Dot (.) notation syntax.

This table describes the context objects and the associated dot (.) notation with examples.

Context object Description Dot (.) notation Example

Connection properties

Properties for connection configuration.

.connectionProperties

.connectionProperties.baseUrl

Request

The contents of the inbound request are:
  • method

    Uppercase HTTP method.

  • uri

    Request URL

  • headers

    Map of headers. Ensure that the header key is in lower case. Use text for a single value and use an array if there are multiple values.

  • query

    Map of query parameters. Use text for a single value and use an array if there are multiple values.

  • body

    Request body as String

.request

.request.body|fromjson

For a single value:

.request.headers.token .request.query.\"x-custom-id\"

For an array:

.request.headers.\"x-custom-token\"[0]

.request.query.\"x-custom-id\"[0]

Output

Output of a flow must be a boolean node.

.output

.output