Developer Guide > Data Integration Hub Transformations > DX_Event_Attribute Transformation
  

DX_Event_Attribute Transformation

The DX_Event_Attribute gets or sets event attribute values.
To use this transformation, you first configure an event attribute in the Operation Console. You then add ports to the transformation. Each port represents the event attribute that you want to get or set.
The port name must match the event attribute name. However, the attribute name is not case sensitive. For example, the event_att1 attribute and the EVENT_ATT1 are treated as the same attribute.
Event names are prefix sensitive. For example, the DX_event_att1 attribute and the event_att1 attribute are not treated as the same attribute.
If you set a value for the port, the transformation sets the event attribute to this value. To get the value of an event attribute, create an empty port.

Input/Output Ports

Configure input/output ports for the DX_Event_Attribute transformation on the Ports tab.
The following table describes the DX_Event_Attribute input/output ports:
Port
Type
Description
DXEventId
string
Required. Identifier of the event associated with the attribute to get or to update.
DXErrorMessage
string
Error message generated by the transformation.
DXErrorCode
string
Error code generated by the transformation. If the transformation fails, the value of the DXErrorCode port is greater than zero.

Data Integration Hub Properties

Configure properties for the DX_Event_Attribute transformation on the DX Properties tab.
The following table describes the Data Integration Hub properties of the DX_Event_Attribute transformation:
Property
Description
Event attribute name
Name of the event attribute to update. You configure the property in the Operation Console. If the value is null, the transformation generates an error.
Note: Optional property. It is recommended that you use the <Attribute> port instead. This property is retained for backward compatibility.
Generate an error in case a failure occurs in this transformation
Indicates whether to set the status of the event to error when the transformation generates an error.
Selected by default.