Search code examples
informatica-powerexchange

When setting Mapping Variables do you have to wire them all the way to the target?


I have a confusion on mapping variables in Informatica.

I set the variables using setVariable() and sometimes setCountVariable() but they are still at zero when I try to pass them back to the calling workflow using the postsession-success_variable_assignment.

My question: Can you set a variable anywhere in the mapping and stop there, for example in a expression, or do you have to wire it all the way to the target to get Infa to recognize it?

Can the port be an output only port, or must it be a variable port first and then moved to an output port secondly.


Solution

  • Just output it to next transformation... It will get assigned