You can define dynamic ports in the Lookup transformation.
You can reference a dynamic port in input column of a lookup condition. If the dynamic port contains multiple generated ports, you can use a port selector for the lookup column element of the lookup condition. The dynamic input port must contain the same number of ports as the port selector in the lookup condition.
If the dynamic port contains one value, you can use a single port in the lookup column element of the lookup condition.
You can reference generated ports in the lookup condition. However, if a source in the dynamic mapping changes, the generated port might not exist. The mapping fails.