Developer Guide > Data Integration Hub Transformations > Data Integration Hub Transformations Overview
  

Data Integration Hub Transformations Overview

A Data Integration Hub transformation is a set of functions that process Data Integration Hub data in PowerCenter.
When you install Data Integration Hub, you can install a set of transformations that you use in PowerCenter workflows to process Data Integration Hub data. When you create mappings, you can use the transformations to perform the functions that you require in the same way you use other PowerCenter transformations.
Data Integration Hub transformations are custom Java transformations that you use to access the Data Integration Hub API without writing Java code. You can use these transformations, the Unstructured Data transformation, and other transformations to process publications and subscriptions.
The following table describes the Data Integration Hub transformations:
Transformation
Description
DX_Add_Document_To_Event
Attaches a document to an event.
DX_Event_Attrribute
Gets or sets the values of event attributes.
DX_Event_Details
Gets or sets the values of a property of an event.
DX_Generate_Temporary_File
Generates a file name for a file in the Data Integration Hub document store.
DX_Notification
Notifies the Data Integration Hub server that processing was successful.
DX_Publication_Parameters
Adds placeholders for the publication instance ID and for the publication date in the Data Integration Hub publication repository.
DX_Start_Publication
Starts a publication process.
DX_Throw_Error
Sets an event status to error if the transformation fails.

Installing and Registering Transformations

To add Data Integration Hub transformations to PowerCenter, use the Data Integration Hub installer.
You install the following components:
After you install and register the plug-ins, verify that the transformations are enabled in the PowerCenter Designer. For more information about installing and configuring the plug-ins, see the Data Integration Hub Installation and Configuration Guide.

Configuring Transformations

After you add a Data Integration Hub transformation to a mapping, you edit and configure the transformation based on your document processing requirements.
When you edit a Data Integration Hub transformation, you can configure the transformation components on the following tabs:

Handling Transformation Errors

You can use certain transformation ports to define how to handle errors that occur during a workflow run.
Each Data Integration Hub transformation uses the following ports to handle errors:
When a transformation generates an error, the transformation writes the error to the PowerCenter session log. The error log includes the exception class, description, cause, and stack trace. The logging level is based on the PowerCenter configuration. Up to 1K of the document associated with the error will be included in the log.
If the option to set the event status to error when a transformation fails is set to true, the transformation also sets the status of the event to error.
You can set the error handling ports as input ports to prevent the transformation from running if an input error occurs.

Data Integration Hub Transformations Rules and Guidelines

When you work with Data Integration Hub transformations in PowerCenter, follow rules and guidelines to optimize performance and prevent errors.
The following list describes rules and guidelines for working with Data Integration Hub transformations: