Portal Community

Output Ports

PortConditionDescription
successOperation completed without errorResult is available at output.NodeName.result. For count operations, output.NodeName.count is also populated.
errorExpression evaluation error or invalid collectionError details in output.NodeName.error. Syntax errors in the expression string cause this port to fire.

Output Data Fields

FieldTypePresent ForDescription
resultanyAll operationsThe primary result of the operation. Array for filter/map/sort/distinct/reverse; scalar for reduce; object or null for first/last; integer for count.
operationstringAll operationsThe operation name that was executed (e.g., "filter"). Useful for logging and conditional branching.
countintegercount, filterThe number of elements in the result set. For filter, this is the number of matching elements. For count, this equals result.

Per-Operation Output Examples

// filter operation output:
{
  "result": [
    { "orderId": "ORD-001", "status": "active", "total": 100 },
    { "orderId": "ORD-003", "status": "active", "total": 250 }
  ],
  "operation": "filter",
  "count": 2
}

// map operation output (extracting IDs):
{
  "result": ["ORD-001", "ORD-003", "ORD-005"],
  "operation": "map"
}

// reduce operation output (sum):
{
  "result": 580.50,
  "operation": "reduce"
}

// first operation output:
{
  "result": { "orderId": "ORD-001", "status": "pending", "total": 99.99 },
  "operation": "first"
}

// count operation output:
{
  "result": 7,
  "operation": "count",
  "count": 7
}

Accessing Results Downstream

ExpressionWhat It Returns
{@ output.FilterActiveOrders.result }The filtered array of active order objects
{@ output.SumOrderTotals.result }The numeric sum produced by reduce
{@ output.FilterActiveOrders.count }Number of active orders (integer)
{@ output.FindFirstPending.result.orderId }The orderId of the first pending order