Workflow attributes are the data that workflows process.

Before you begin

Open a workflow for editing in the workflow editor.

About this task

Note:

You can also define workflow attributes in the workflow schema elements when you create the workflow schema. It is often easier to define an attribute when you create the workflow schema element that processes it.

Procedure

  1. Click the General tab in the workflow editor.

    The attributes pane appears in the bottom half of the General tab.

  2. Right-click in the attributes pane and select Add Attribute.

    A new attribute appears in the attributes list, with String as its default type.

  3. Click the attribute name to change it.

    The default name is attX, where X is a number.

    Note:

    Workflow attributes must not have the same name as any of the workflow's parameters.

  4. Click the attribute type to select a new type from a list of possible values.

    The default attribute type is String.

  5. Click the attribute value to set or select a value according to the attribute type.
  6. Add a description of the attribute in the Description text box.
  7. If the attribute is a constant rather than a variable, click the check box to the left of the attribute name to make its value read-only.

    The lock icon identifies the column of read-only check boxes.

  8. (Optional) : If you decide that the attribute should be an input or output parameter rather than an attribute, right-click the attribute and select Move as INPUT/OUTPUT parameter to change the attribute into a parameter.

Results

You defined an attribute for the workflow.

What to do next

You can define the workflow's input and output parameters.