Table of Contents

Search

  1. Preface
  2. Understanding Pipeline Partitioning
  3. Partition Points
  4. Partition Types
  5. Pushdown Optimization
  6. Pushdown Optimization and Transformations
  7. Real-time Processing
  8. Commit Points
  9. Row Error Logging
  10. Workflow Recovery
  11. Stopping and Aborting
  12. Concurrent Workflows
  13. Grid Processing
  14. Load Balancer
  15. Workflow Variables
  16. Parameters and Variables in Sessions
  17. Parameter Files
  18. FastExport
  19. External Loading
  20. FTP
  21. Session Caches
  22. Incremental Aggregation
  23. Session Log Interface
  24. Understanding Buffer Memory
  25. High Precision Data

Advanced Workflow Guide

Advanced Workflow Guide

Passing Parameter and Variable Values between Sessions

Passing Parameter and Variable Values between Sessions

You can assign parameter and variable values in a session to pass values from one session to any subsequent session in the same workflow or worklet. For example, a workflow contains two sessions s_NewCustomers and s_MergeCustomers. Session s_MergeCustomers needs to use the value of a mapping variable updated in s_NewCustomers.
The following figure shows the workflow:
The workflow includes the Start task, s_NewCustomers, and s_MergeCustomers.
To pass the mapping variable value from s_NewCustomers to s_MergeCustomers, complete the following steps:
  1. Configure the mapping associated with session s_NewCustomers to use a mapping variable, for example, $$Count1.
  2. Configure the mapping associated with session s_MergeCustomers to use a mapping variable, for example, $$Count2.
  3. Configure the workflow to use a user-defined workflow variable, for example, $$PassCountValue.
  4. Configure session s_NewCustomers to assign the value of mapping variable $$Count1 to workflow variable $$PassCountValue after the session completes successfully.
  5. Configure session s_MergeCustomers to assign the value of workflow variable $$PassCountValue to mapping variable $$Count2 before the session starts.

0 COMMENTS

We’d like to hear from you!