Skip to main content
Version: Current

Set Workflow Output

Description

The Set Workflow Output activity assigns values to the configured output parameters of the workflow.

Use this activity near the end of a workflow when the workflow must return data to its caller, trigger, parent workflow, or another activity that invoked it.

The activity shows the workflow outputs configured in the Workflow Parameters Dialog and lets you map each output parameter to a static value, expression, or process data value.


Common Capabilities

Process Data Support

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design Time Configuration

Display Text

Specifies the activity's display name as shown on the workflow canvas.


Outputs

Displays the output parameters configured for the workflow.

Output parameters are defined in the Workflow Parameters Dialog. Each configured output appears as a field in this activity so that a value can be assigned before the workflow completes.

For each output parameter, specify the value to return.

Examples:

  • Return a status value such as Success or Failed
  • Return an identifier created during the workflow
  • Return a file reference generated by a previous activity

Usage Notes

  • Place Set Workflow Output as the final activity in the workflow path that must return values.
  • If the workflow has multiple execution paths, make sure each path that should return output reaches this activity.
  • The activity only displays outputs that are configured in the workflow's Workflow Parameters dialog.
  • To add, remove, or change workflow outputs, update them from the Workflow Parameters dialog first.
  • Use values that match the data type of each configured output parameter.

Example

A workflow receives an order number, validates the order, creates a report file, and returns the result to the caller.

Configured workflow outputs:

Output ParameterTypeExample Value
StatusTextCompleted
MessageTextOrder processed successfully
ReportFileFileReferenceOutput from a previous file activity

The Set Workflow Output activity maps these values before the workflow ends.


Output

This activity does not produce a separate activity output.

It sets the workflow-level output values that are returned when the workflow execution completes.