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 Parameter data type Conversion

Workflow Parameter data type Conversion

A workflow parameter can have a type of connection or string. You can assign a string workflow parameter to a workflow variable or to task input of an integer or boolean type if the Data Integration Service can convert the data types.
The following table describes the workflow parameter data type conversion that the Data Integration Service performs:
Parameter data type
Integer
Boolean
Date
String
Yes
Yes
No
To convert a string to an integer, the string must contain a number.
To convert a string to a boolean, the string must contain either "true" or "false."
For example, a Mapping task has a High Precision property with a boolean data type. You need to assign a workflow parameter to the property. You can define the workflow parameter as a string with a default value of "true" or "false". When you run the workflow, the Data Integration Service converts the parameter value to the boolean value.
You cannot assign a connection parameter to a parameter that is not a connection parameter.

0 COMMENTS

We’d like to hear from you!