sharepoint online - In Power Automate Get just email address values from Select - Stack Overflow

I'm trying to get a semicolon separated list of email addresses stored in a SharePoint list's

I'm trying to get a semicolon separated list of email addresses stored in a SharePoint list's text field.

My workflow gets items from SharePoint, uses a 'Select' action to just get the email address field, Compose action to 'chunk' the responses into smaller arrays, & join the values together with a semicolon. However, when I do this, it includes the header ("Email") in each one.

What I've tried

In the Compose

  • chunk(body('Select')['Email'],20)

Error: The template language expression 'chunk(body('Select')['Email'],20)' cannot be evaluated because property 'Email]' cannot be selected. Array elements can only be selected using an integer index.

In the email:

  • join(item()['Email'],';')

Error: The template language expression 'join(item()['Email'],';')' cannot be evaluated because property 'Email' cannot be selected. Array elements can only be selected using an integer index.

  • join(item()[0]['Email'],';')

Error: The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String

I'm trying to get a semicolon separated list of email addresses stored in a SharePoint list's text field.

My workflow gets items from SharePoint, uses a 'Select' action to just get the email address field, Compose action to 'chunk' the responses into smaller arrays, & join the values together with a semicolon. However, when I do this, it includes the header ("Email") in each one.

What I've tried

In the Compose

  • chunk(body('Select')['Email'],20)

Error: The template language expression 'chunk(body('Select')['Email'],20)' cannot be evaluated because property 'Email]' cannot be selected. Array elements can only be selected using an integer index.

In the email:

  • join(item()['Email'],';')

Error: The template language expression 'join(item()['Email'],';')' cannot be evaluated because property 'Email' cannot be selected. Array elements can only be selected using an integer index.

  • join(item()[0]['Email'],';')

Error: The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String

Share Improve this question asked Nov 19, 2024 at 21:14 Doug PunchakDoug Punchak 1801 gold badge3 silver badges14 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I figure it out. I just had to change the "Select" to text mode from "Key Value Mode" and specify the SharePoint field. This removed the column header and just gave me the values.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742398172a4436367.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信