Field Attributes
Field attributes are attributes that provide additional information about each field that you can use in pipeline logic, as needed.
Some stages generate field attributes. For example, the Salesforce origin includes the
original Salesforce data type in the salesforce.salesforceType
attribute for every field.
You can create, modify, and evaluate field attributes in the pipeline. The Expression Evaluator enables creating and modifying field-level attributes. You can use field attribute functions to evaluate field attributes.
For example, you can use an Expression Evaluator to create a field attribute based on record data, then pass the record to a Stream Selector that routes data based on the value of the attribute.
Field attributes are automatically included in records written to destination systems only when you use the SDC RPC data format in the destination.
To include field attributes in the record data or to use
field attributes in calculations, use the record:fieldAttribute
and record:fieldAttributeOrDefault
functions. For more
information about field attribute functions, see Record Functions.
When using data preview, you can enable viewing field attributes and record header attributes to aid with pipeline development.