Get Work Items

Use the Get Work Items flow step to retrieve work items for processing or resolution.

Note: This guide assumes you are familiar with creating work items. If not, please read the Create Work Item step documentation before continuing.

Step Inputs

To use this step, select a Work Request Type option from the dropdown menu. The available options should match values entered into the Work Request Type field in the Create Work Item step. If no options are visible, you may need to create some work items using the Create Work Item flow step. 

Work Request Type

For the Work Request Key, choose a value that matches the group of work request items needing retrieval. For example, you can use the current date:

Work Request Key

This fetches any work items that are grouped under the current date.

An optional step is to select a filter in the Filter by Resolution field. This lets you selectively return work items that match the selected resolution status.

Filter by Resolution

The default is Any, meaning items with any resolution status will be returned.

Next, choose an App and Data Object. These should match the values chosen when creating work items in the Create Work Item step.

Select App and Data Object

If needed, you can select properties from the given Data Object using the Properties to Select list.

For example:

Select Properties

Finally, you can set the Optional Limit. This lets you limit how many work items are returned when your step executes.

All items are returned by default, but you can set a value of 100 if you want to batch them:

Optional Limit

When our flow step executes, it will return all work items that match the filtering criteria. This output can be used by other steps in our flow, like the Resolve Work Items step. For more information about how to resolve work items, see Resolve Work Items.

Select the Work Tracking tab in your workspace to see available work items. For more information, see Work Tracking.