You can restore source port names when you rename generated ports.
For example, you can rename generated ports to add a prefix
Pre_
to all of the ports in one transformation in the mapping flow. In a downstream transformation, you can restore the source port names to restore the name before the prefix was added. When you restore the source port names, the Developer tool restores the port names as they appear in the nearest upstream transformation with static ports.
The following image shows an Expression transformation where the generated ports are renamed with a prefix
Pre_
:
The following image shows a Filter transformation where the source port names are restored:
The port names are restored according to the upstream Read transformation that contains static ports.