web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Capture changes Sharep...
Power Automate
Unanswered

Capture changes Sharepoint list that contains multiselect people fields

(1) ShareShare
ReportReport
Posted on by 28

Hi All,

 

I have created a Microsoft flow following this video https://www.youtube.com/watch?v=27q6lAA1TAM&t=954s 

 

It works great for non person/group columns.

I have a select statement (select 3 action below) which splits the data by ";" but this does not seem to agree with person/group fields, is there a way I can dynamically handle these fields? 

 

Select Action

 

ciano789_0-1720619915393.png

 

From split(replace(replace(string(outputs('Send_an_HTTP_request_to_SharePoint')?['body']),'{',''),'}',''),',')
Title  replace(split(item(),':')[0],'"','')
Previous Value replace(split(item(),':')[1],'"','')
Current Value outputs('Send_an_HTTP_request_to_SharePoint_2')?['body']?[json(item())]
 
 
ciano789_1-1720619932595.png
ciano789_2-1720619948072.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    hi @ciano789 

     

    Not going to watch the video.

     

    Where did the string come from you are trying to split, how did you add a People/Person "attribution" to the string, or is just the persons email or something.

     

    Anyway, share more please.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • ciano789 Profile Picture
    28 on at

     , 

    Thank you for your response.

     

    The string in the select 3 action (the action I'm getting the error for) comes from the two HTTP requests, The issue is that the input isn't in the expected format but I'm not sure how I can get it into the required format.

     

    the ideal format would be to have all values separated by a : and to have one value per 

     

     

    the input for the select action is this

     

    [
    "\"Created\":\"2024-07-11T12:03:06\"",
    "\"IsCurrentVersion\":false",
    "\"VersionId\":876",
    "\"VersionLabel\":\"173.0\"",
    "\"ContentTypeId\":\"StringValue\":\"0x01009510671F8E22D2E619294FAEADDDC9CF3E5A7F\"",
    "\"RiskNo_x005f_x002e_x005f_\":\"997\"",
    "\"Risk_x005f_x0020_x005f_DRI\":[\"LookupId\":83",
    "\"LookupValue\":\"O Brien",
    " Cian NON-IE]\"",
    "\"Email\":\"CoBrie@gmail.com\"",
    "\"LookupId\":128",
    "\"LookupValue\":\"Ah",
    " Micl [N]\"",
    "\"Email\":\"MAh@gmail.com\"",
    "\"LookupId\":129",
    "\"LookupValue\":\"Mcelligott",
    " Barry [Non-IE]\"",
    "\"Email\":\"BMcell@gmail.com\"]",
    "\"Risk_x005f_x0020_x005f_or_x005f_x0020_x005f_Issue\":\"Risk\"",
    "\"Risk_x005f_x0020_x005f_Description\":\"eee\"",
    "\"Likelihood\":\"3\"",
    "\"Impact\":\"3\"",
    "\"Mitigation_x005f_x002f_x005f_Action_x005f_x0020_x005f_Pl\":\"ee\"",
    "\"Resolution_x005f_x0020_x005f_Date\":\"2024-07-26T07:00:00Z\"",
    "\"Status\":\"Managing on Track\"",
    "\"Comments\":\"r\"",
    "\"Creation_x005f_x0020_x005f_Date\":\"2024-07-10T10:58:43Z\"",
    "\"Risk_x005f_x0020_x005f_Sponsor\":\"LookupId\":86",
    "\"LookupValue\":\"Meledez",
    " Amilton [MR]\"",
    "\"Email\":\"amln1@gmail.com\"",
    "\"Forecast\":\"Improving Trend\"",
    "\"Module_x005f_x0020_x005f_Name\":\"Market\"",
    "\"Overall_x005f_x0020_x005f_Score\":\"Medium\"",
    "\"Closed_x005f_x0020_x005f_Date\":\"\"",
    "\"Date_x005f_x0020_x005f_Identified\":\"2024-07-31T07:00:00Z\"",
    "\"OData__x005f_x0031_x005f_st_x005f_x0020_x005f_Action\":\"ee\"",
    "\"Who_x005f_x0020_x005f_Owns_x005f_x0020_x005f_1st_x005f_x0020_x005f_A\":\"LookupId\":86",
    "\"LookupValue\":\"Meledez",
    " Amilton [MR]\"",
    "\"Email\":\"amln1@gmail.com\"",
    "\"OData__x005f_x0031_x005f_st_x005f_x0020_x005f_Action_x005f_x0020_x005f_Whe\":\"2024-09-20T07:00:00Z\"",
    "\"Risk_x005f_x0020_x005f_Scope\":\"scope\"",
    "\"Likelihood_x005f_x0020_x005f_Explanation\":\"ee\"",
    "\"Impact_x005f_x0020_x005f_Explanation\":\"ee\"",
    "\"Actions_x005f_x0020_x005f_Undertaken\":\"Testing\\n\"",
    "\"RiskDRINames\":\"[\\\"O Brien",
    " Cian [NON-IE]\\\"",
    "\\\"Ahn",
    " Michael [NE]\\\"",
    "\\\"Mcelligott",
    " Barry [Non-IE]\\\"]\"",
    "\"ID\":4",
    "\"Modified\":\"2024-07-11T12:03:06Z\"",
    "\"Author\":\"LookupId\":83",
    "\"LookupValue\":\"O Brien",
    " Cian [NON-IE]\"",
    "\"Email\":\"CoBrie@GMAIL.com\"",
    "\"Editor\":\"LookupId\":83",
    "\"LookupValue\":\"O Brien",
    " Cian [NON-IE]\"",
    "\"Email\":\"CoBrie@gmail.com\"",
    "\"owshiddenversion\":173",
    "\"WorkflowVersion\":1",
    "\"OData__x005f_UIVersion\":885",
    "\"OData__x005f_UIVersionString\":\"173.0\"",
    "\"Attachments\":false",
    "\"OData__x005f_ModerationStatus\":0",
    "\"Order\":400.0",
    "\"GUID\":\"0029f4bc-4002-4fa4-a11a-0e\"",
    "\"FileRef\":\"/teams/PM-Site/Lists/PMV2/4_.000\"",
    "\"FileDirRef\":\"/teams/PM-Site/Lists/PMV2\"",
    "\"Last_x005f_x0020_x005f_Modified\":\"2024-07-10T10:58:43Z\"",
    "\"Created_x005f_x0020_x005f_Date\":\"2024-07-10T10:58:43Z\"",
    "\"FSObjType\":\"0\"",
    "\"SortBehavior\":\"LookupId\":4",
    "\"LookupValue\":\"0\"",
    "\"FileLeafRef\":\"4_.000\"",
    "\"UniqueId\":\"1197ab2a-bf59-4937-8fd0\"",
    "\"ParentUniqueId\":\"B9537390-721C-4C8\"",
    "\"SyncClientId\":\"LookupId\":4",
    "\"LookupValue\":null",
    "\"ProgId\":\"\"",
    "\"ScopeId\":\"3DFA7BA1-9137-4D90-80B\"",
    "\"MetaInfo\":\"\"",
    "\"OData__x005f_Level\":1",
    "\"OData__x005f_IsCurrentVersion\":false",
    "\"ItemChildCount\":\"0\"",
    "\"FolderChildCount\":\"0\"",
    "\"Restricted\":\"\"",
    "\"OriginatorId\":\"\"",
    "\"NoExecute\":\"0\"",
    "\"ContentVersion\":\"0\"",
    "\"OData__x005f_ComplianceFlags\":\"\"",
    "\"OData__x005f_ComplianceTag\":\"\"",
    "\"OData__x005f_ComplianceTagWrittenTime\":\"\"",
    "\"OData__x005f_ComplianceTagUserId\":\"\"",
    "\"AccessPolicy\":\"\"",
    "\"OData__x005f_VirusStatus\":\"\"",
    "\"OData__x005f_VirusVendorID\":\"\"",
    "\"OData__x005f_VirusInfo\":\"\"",
    "\"AppAuthor\":\"LookupId\":24",
    "\"LookupValue\":\"Microsoft Power Platform\"",
    "\"AppEditor\":\"LookupId\":24",
    "\"LookupValue\":\"Microsoft Power Platform\"",
    "\"SMTotalSize\":\"LookupId\":20978",
    "\"LookupValue\":\"\"",
    "\"SMLastModifiedDate\":\"2024-07-11T12:04:04Z\"",
    "\"SMTotalFileStreamSize\":\"0\"",
    "\"SMTotalFileCount\":\"LookupId\":0",
    "\"LookupValue\":\"\"",
    "\"OData__x005f_CommentFlags\":\"\"",
    "\"OData__x005f_CommentCount\":\"\""
    ]

     

    @FLMike

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard