Duaer

Expressions and code

Methods and variables reference for Duaer

Names used most often in a Duaer expression: the current item is $json, an earlier node is $("Node name"), variables are $vars, and transformation methods are grouped by data type.

Reading data

  • $json.field is a field on the current item.
  • $binary is the file on the current item.
  • $("Node name").item, .first(), .last(), and .all() are the linked item, the first item, the last item, or every item from that node.
  • $itemIndex and $runIndex are this item’s position and how many times this node has run. Both start at 0.
  • $vars.key reads Define custom variables in Duaer.
  • $execution.id and $workflow.name are this execution and this workflow.
  • $pageCount, $request, and $response exist only in HTTP Request pagination. See Use HTTP node pagination variables.

Conditions and transformations

Questions

What reads the current item and an earlier node in Duaer?

In a Duaer expression, the current item is $json and its file is $binary. An earlier node is $("Node name").item, first(), last(), or all(). A reusable variable is $vars.key.

Is $pageCount a general variable in Duaer?

No. In Duaer, $pageCount, $request, and $response exist only in HTTP Request pagination. Other nodes still read the current item with $json.

In this section