Closed
Description
Describe the Bug with repro steps
- Create a select action
- Add an array to the "From" input
- Change the map to a text field and in double quotation marks add a reference to the item and any other characters youd like to update to the array item.
Designer View
Code View
- Save and run
- See output has created an array of updates array items
- Reopen the designer and observe the double quotation marks have been removed and there is now a json validation error in the map field
Error
What type of Logic App Is this happening in?
Standard (Portal)
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Select": {
"type": "Select",
"inputs": {
"from": "@triggerBody()?['resourceData']?['members@delta']",
"select": "@{item()?.id}<>1234"
},
"runAfter": {}
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"ADGroup_Webhook": {
"type": "Request",
"kind": "Http",
"conditions": []
}
},
"kind": "Stateful"
}
}
Screenshots or Videos
No response
Browser
Edge
Additional context
There is a workaround for this issue by just adding the double quotes back in but it does occasionally cause issues when forgotten
I might just be using this action incorrectly but it is a fast way to flatten and modify array items without introducing a for loop. If it is just a validation bug that can be fixed it would be great to see this use case documented as a way to modify array items or create a new array from an Object arrays members without iterating each ones
Metadata
Metadata
Assignees
Labels
No labels