Retrieve Workflow Context

Last modified: March 1, 2024

1 Introduction

A Retrieve workflow context activity can be used to retrieve the selected workflow context entity.

It needs the System.Workflow entity as its input. The action determines the return type based on the selected workflow (the configured Context entity of that workflow). A Runtime error occurs if the passed workflow object is not of the right type.

2 Properties

An example of retrieve workflow context properties is presented in the image below:

retrieve Workflow Context Properties

There are two sets of properties for this activity, those in the dialog box on the left, and those in the properties pane on the right.

The Retrieve workflow context properties pane consists of the following sections:

3 Action Section

The Action section of the properties pane shows the action associated with this activity.

You can open a dialog box to configure this action by clicking the ellipsis () next to the action.

You can also open the dialog box by double-clicking the activity, or right-clicking the activity and selecting Properties.

3.1 Workflow

The workflow of which data is retrieved by this activity.

3.2 Workflow Object

A workflow object of the System.Workflow entity available from the microflow parameters.

3.3 Variable Name

The name of the variable returned by the activity.

4 Common Section

For more information on properties in this section, see Common Properties.