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

Configuring Variable Assignments

Configuring Variable Assignments

Assign variables on the Variables tab when you edit a worklet. Assign values to the following types of variables before or after a worklet runs:
  • Pre-worklet variable assignment.
    Update user-defined worklet variables with the values of parent workflow or worklet variables or the values of mapping variables from other tasks in the workflow or parent worklet that run before this worklet.
  • Post-worklet variable assignment.
    Update parent workflow and worklet variables with the values of user-defined worklet variables.
To assign variables in a worklet:
  1. Edit the worklet for which you want to assign variables.
  2. Click the Variables tab.
  3. Select the variable assignment type:
    • Pre-worklet variable assignment.
      Assign values to user-defined worklet variables before a worklet runs.
    • Post-worklet variable assignment.
      Assign values to parent workflow and worklet variables after a worklet completes.
  4. Click the edit button in the variable assignment field.
  5. In the pre- or post-worklet variable assignment area, click the add button to add a variable assignment statement.
  6. Click the open button in the User-Defined Worklet Variables and Parent Workflow/Worklet Variables fields to select the variables whose values you wish to read or assign. For pre-worklet variable assignment, you may enter parameter and variable names into these fields. The Workflow Manager does not validate parameter and variable names.
    The Workflow Manager assigns values from the right side of the assignment statement to variables on the left side of the statement. So, if the variable assignment statement is “$$SiteURL_WFVar=$$SiteURL_WkltVar,” the Workflow Manager assigns the value of $$SiteURL_WkltVar to $$SiteURL_WFVar.
  7. Repeat steps Configuring Variable Assignments to Configuring Variable Assignments to add more variable assignment statements.
    To delete a variable assignment statement, click one of the fields in the assignment statement, and click the cut button.
  8. Click OK.

0 COMMENTS

We’d like to hear from you!