Hi Community,
I have checked similar topics but they didn't seem to echo my encounter, hence, the post.
I have a flow in which I need to set up track changes in SP Lists, The flow ran successfully but the output was empty, after troubleshooting, I realized a key piece was not working as expected -
In my Get Previous Values action, I have a control using Select to retrieve the column names and the modification status (true/false), in which output I need to take out the status as "Value", and the Column Name part as "Property". As seen in the screenshot, the Column Name has \" wrapped around it. I need to get rid of them in the output. The expression I have for the Property is @replace(split(item(),':')[0],'\"','') in which I want to replace \" with nothing.
"type": "Select",
"inputs": {
"from": "@split(replace(replace(string(outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/ColumnHasChanged']),'{',''),'}',''),',')",
"select": {
"Value": "@split(item(), ':')[1]",
"Property": "@replace(split(item(),':')[0],'\"','')"
But after the flow successfully ran, the output shows apparently \" was NOT replaced as expected. (See screenshot).
What went wrong? Could anyone point me a direction to a fix? Many thanks!