Table of Contents

Search

  1. Preface
  2. Taskflows and linear taskflows
  3. Taskflows
  4. Linear taskflows

Taskflows

Taskflows

Input fields

Input fields

Use the
Input Fields
section to add fields that a taskflow uses at the beginning of a step.
You can define the input fields that you want to pass when you run a taskflow. You can create input fields of the following types:
Simple type
Create a simple type field to use common data types such as Checkbox, Date, Date Time, Time, Number, Integer, or Text.
Custom type
Create a custom type field to use an object that is added to the taskflow.
Enter the following properties for each input field that you create:
Property
Description
Name
The name of the input field.
Type
The type of the input field. For example, select
Checkbox
,
Date
,
Date Time
,
Time
,
Number
,
Integer
, or
Text
.
You can also add an input field of a simple type or custom type. To do this, select
More types
, and then in the
Edit Type
dialog box, select the
Category
as
Simple Types
or
Custom Types
.
Description
A description of the input field.
Required
Indicates whether the input field is required for the taskflow to run.
Initial Value
The value that is assigned to the input field when you start the taskflow execution. You can enter text or use a formula to set the initial value.

Input fields for taskflows invoked by file listeners

When you select the binding type for a taskflow as
Event
and select a file listener,
Data Integration
creates an input field to store details of the files that arrived, were updated, or were deleted as part of the file listener event. The input field takes the name of the file listener. You cannot edit or delete this input field. You also cannot add more input fields for taskflows that are invoked by file listeners.
After the taskflow completes, you can access the
My Jobs
page, click the taskflow instance, and click the
Input Fields
tab to view details of the files that arrived, were updated, or were deleted as part of the file listener event. The input field displays the following information for each file that arrived, was updated, or was deleted:
  • Path where the file is available
  • Name of the file
  • Size of the file in bytes
  • Last modified time in milliseconds
You can monitor the execution of the file listener and the events that occur on each run job of the file listener. File listener log entries are listed on the
File Transfer Logs
page in Monitor.
If you had selected the binding type for a taskflow as
REST/SOAP
and then change it to
Event
,
Data Integration
deletes the input fields that you had previously added.

Creating an input field with a custom type

You can create an input field with a custom type using the objects available in tasks in the taskflow. To create an input field with a custom type, you must have one or more steps that contain data integration tasks added to the taskflow.
  1. On the
    Explore
    page, navigate to the taskflow for which you want to create an input field with a custom type.
  2. Add steps to the taskflow. For example, add a Data Task step
    and an Ingestion task step
    .
  3. Click the
    Start
    step of the taskflow.
  4. Click the
    Input Fields
    tab.
  5. Click the
    Add
    icon.
  6. In the
    Type
    column, select
    More types
    .
    The
    Edit Type
    dialog box appears.
    The following image shows the
    Edit Type
    dialog box:
    The image shows the Edit Type dialog box.
  7. From the
    Category
    list, select
    Custom Types
    .
    A list of objects available in the taskflow appears in the
    Types
    section.
  8. Select the object that you want to pass as an input and click
    OK
    .

0 COMMENTS

We’d like to hear from you!