Search code examples
informaticainformatica-powercenter

Informatica envt' variables


Is it possible to get the name of previous task from current task in in particular workflow in informatica? Is there any environment variable which holds the value of task ran ?


Solution

    1. Declare a workflow variable (e.g. $$LAST_SESSION).

    2. Use the Post-session variable assignment component (on success or on failure or both) to store a name of executed session.

      PowerCenter - Post-session variable assignment

    3. Use the $$LAST_SESSION value in the reusable alert task.