The Outputs form in the designer contains a variable builder
for creating data structures of objects and arrays.
Avant de commencer
Roles required: activity_admin, activity_creator
Pourquoi et quand exécuter cette tâche
Elements in this structure are mapped with Create a parsing rule to specific data contained
in payloads returned from an endpoint or host. These variables and their values are then
made available locally or for reuse in other activities.
Procédure
Click the + icon in the Outputs
column to create a local or output variable.
Local variables are only available within an activity and are not visible in
the data structures displayed in the Custom tab.
Output variables are available for reuse in other activities, either
individually or as an entire data structure. When you create a new variable
of either type, the designer provides a default name of
Local1 or Output1.
Type your new variable name in the field and select a data type.
Variable names must be unique within an array or an object. You can assign a
data type of Encrypted to output variables that
contain sensitive data. Data protected by encryption is passed to other
activities or processes encrypted and is never displayed in plain text.
To change the name of a variable or any of its attributes, double-click the
value, type a new value in the editing field, and then press
Enter.
The icon to the left of the name reflects the data type of the variable.
To reorder the variable list, select a row and then drag the row to its new
location.
When you select a row to move it, the pointer icon changes to an up/down arrow icon ().
Drag the row into another location.
Choose from the following options.
To reuse a variable from another activity, drag it from the Custom tab in the palette to the Local or Output heading at the top of the variable
list.
To copy an entire data structure, drag the parent object or array into the variable list header.
The designer duplicates the copied data structure in the outputs variable builder.
Figure 1. Reuse of data structures
To delete a variable, click the delete icon () in the row.
Activity designer template outputs
Output variables contain messages returned from a destination that are available to
other activities in a workflow or internally to the activity.
Tableau 1. Activity designer output fields
Field
Description
Variable name
Name of a variable, either Local or
Output, that this activity passes.
Local
Variable that contains a value used within an activity. For example, use a
local variable to identify metadata that is processed within an activity before
the final value is exported to an output variable.
Output
Variable that contains a value that is passed to other activities in the
workflow.
Map an output field
Mapping is configured with parsing rules that allow you to build expressions in the
appropriate data format for the selected payload.
Avant de commencer
Role required: activity_admin, activity_creator
Pourquoi et quand exécuter cette tâche
When you are finished creating the output data structure, map each variable to the
specific data you want to extract from the target host.
Procédure
To map a variable, drag it from the Outputs variable
builder and drop it into an empty Variable name field in
the Parsing rules section.
See create a parsing rule for
instructions on configuring parsing for output variables.