To use a Sequence Generator transformation in a mapping, add it to the mapping, configure the transformation properties, and then connect NEXTVAL or CURRVAL to one or more transformations.
To create a Sequence Generator transformation:
In the Mapping Designer, click Transformation > Create. Select the Sequence Generator transformation.
The naming convention for Sequence Generator transformations is SEQ_
TransformationName
.
Enter a name for the Sequence Generator, and click Create. Click Done.
The Designer creates the Sequence Generator transformation.
Double-click the title bar of the transformation.
Enter a description for the transformation.
Select the Properties tab. Enter settings.
You cannot override the Sequence Generator transformation properties at the session level. This protects the integrity of the sequence values generated.
Click OK.
To generate new sequences during a session, connect the NEXTVAL port to at least one transformation in the mapping.
Use the NEXTVAL or CURRVAL ports in an expression in other transformations.