Organize multiple data variables into a structure to process them as a unit and identify the individual items within it.

Before you begin

About this task

A data structure is a collection of related data elements organized into a hierarchy. Each element in a data structure has its own data type and its own unique position in the hierarchy.

Procedure

  1. Create a data variable.
    Action or subflow input Click Create Input
    Action or subflow output Click Create Output
    XML parser step See XML parser step
  2. Set Type to Object.
    The top level of a data structure hierarchy must be an Object variable.
  3. Click the Add Child Item icon.
    Workflow Studio adds a child data variable to the bottom of the object list.
    Note: You can insert a child item variable between existing variables by hovering your mouse pointer between two variables, and click the insert item icon (Insert item icon) that appears.
    Note: When hovering your mouse pointer between a child and sibling variable, you will see a add child icon (Insert child item icon). Click the left side of the icon to add a new sibling variable to the child's parent, or the right side to add another child variable under the current variable.
  4. Set the child variable Label and Type.
    To add another branch to the data structure hierarchy, set the Type to Object.
  5. Repeat steps 3-4 for each data variable in the hierarchy.

What to do next

Use the data structure to populate action, step, or subflow inputs. If you can reuse the data structure, save it as a template.