Table of Contents

Search

  1. Preface
  2. Workflows
  3. Workflow Variables
  4. Workflow Parameters
  5. Cluster Tasks
  6. Command Task
  7. Human Task
  8. Mapping Task
  9. Notification Task
  10. Gateways
  11. Workflow Recovery
  12. Workflow Administration

Developer Workflow Guide

Developer Workflow Guide

Workflow Variables Overview

Workflow Variables Overview

A workflow variable represents a value that can change during a workflow run. Use workflow variables to reference values and record run-time information.
You can use system or user-defined workflow variables. A system workflow variable returns system run-time information such as the workflow instance ID, the user who started the workflow, or the workflow start time.
A user-defined workflow variable captures task output or captures criteria that you specify. After you create a user-defined workflow variable, you configure the workflow to assign a run-time value to the variable.
Assign workflow variables to task input and task output to pass data between a task and the workflow.
Use workflow variables for the following reasons:
Determine whether to run the next object based on run-time data.
Use workflow variables in expressions in conditional sequence flows when you want the Data Integration Service to evaluate the variable value and then determine which object to run next. For example, create a user-defined boolean variable that captures the Is Successful task output. Use the variable in the expression of a conditional sequence flow on a gateway to evaluate whether the previous task ran successfully. If it did, run task A. If not, run task B.
Use run-time data for the value of a task field.
Use workflow variables in task fields when you want the Data Integration Service to use the variable value for the field at run time. For example, use the UserName system variable in the list of recipients for a Notification task to send an email to the user that started the workflow.

0 COMMENTS

We’d like to hear from you!