githubEdit

Map to an attribute within a list transform action

Use case

You are trying to create a list of users from a Microsoft Graph return and want to create a flat list of all the display names for the users.

Overview

Map to an attribute for each dictionary object in a list.

Parameters

Parameter
Description
Required

Attribute

The attribute to map to, dot notation can be used. For example, result.result

List

The list you would like to perform the map on.

circle-info

This is useful for working with results returned from actions running with items so you don't have to worry about the nested result keys.

Usage

chevron-rightExample 1: Mapping to usernames in a responsehashtag

Inputs:

Attribute: result.result.data.username

List:

Results output

This transform is expected to return a new list that is mapped to the selected attribute.

Example of result for Example 1:

Last updated

Was this helpful?