Current Error Details

flow · C262 · starter-package 7.0.1

Extract bounded text fields from a captured error record.

Inputs and outputs

Inputs

ConnectorTypeRequired
ErrorrecordYes

Outputs

ConnectorType
Detailsrecord

What the block does

The input is a Record from the error-handling path. The output is a new Record containing only top-level Text properties named code, message, source and details. Other keys and non-text values are skipped. If none qualify, details returns {}.

Safety and limits

Each of code, message and source keeps its first 512 UTF-16 code units. The inner details text keeps its first 1,024. The copied text retains its contents, so select suitable fields before logging or displaying it.

Errors and recovery

A missing or invalid error Record stops execution at this block. Connect the captured Record itself. If it is wrapped inside another Record, extract it first. Empty output fields mean the corresponding source properties were absent or had a different type.

Example workflow

Inside the recovery workflow of Try / On Error, wire its captured error Record to error. For {"code":"CHILD_FAILED","message":"Child workflow failed","source":"object-execution","details":"Review the child workflow."}, details contains those four strings. Connect the output to a record-property reader and select message to display Child workflow failed.