sharepoint 2013 designer workflow rest api get person column with multiple values and their emails

how to get sharepoint 2013 designer workflow rest api get person column with multiple values and their emails

I tried d/results(1)/EMail but does not work.

ToUsergroup(multi user column in a list)

I tried $select=EmailBody,Subject,ToUsergroup/EMail,CCUsersGroups/EMail&$expand=ToUsergroup/Id&$expand=CCUsersGroups/Id

But now how to get these values in next step in designer workflow?

<category term="SP.Data.GlobalPRRemindersListItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" href="Web/Lists(guid'b4e09ccc-8a19-40ed-9fe5-f9e4f184d4ba')/Items(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ToUsergroup" type="application/atom+xml;type=feed" title="ToUsergroup" href="Web/Lists(guid'b4e09ccc-8a19-40ed-9fe5-f9e4f184d4ba')/Items(3-means 3 users)/ToUsergroup"><m:inline><feed><id>0801a866-3486-4202-9df0-d57f917f6d45</id><title /><updated>2015-08-25T20:33:45Z</updated><entry><id>21f148d0-7fb5-41d6-82a2-fbf98699133c</id><category term="SP.Data.UserInfoItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />


August 25th, 2015 8:44pm

I get below result from rest api called from sharepoint 2013 designer

<d:ToUsergroupId><d:element m:type="Edm.Int32">569</d:element><d:element m:type="Edm.Int32">561</d:element></d:ToUsergroupId>

Now how to get this in designer workflow to exctract these id's

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 2:24pm

I figured this out with fiddler and jason. I needed another /results to get user id's.
August 26th, 2015 3:49pm

Hi Amit,

As your description, you want to get multi-values people column information using REST API in SharePoint 2013 Designer workflow.

To achieve it, I suggest you build a dictionary and add variables into the dictionary, then loop the variables using Loop Step.
                                                                                                       
More information, please refer to the links:
http://www.sparkhound.com/blog/Lists/Posts/Post.aspx?ID=90
http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=224

Best Regards,
Wendy

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 10:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics