quotes are removed from Select when in text mode
Describe the Bug
When using the "Select" action in "text" mode (e.g. not key-value mode); after saving the workflow and clicking on another action, when I click back to the Select action, the quotes are removed and an error Enter a valid JSON. is displayed.
Plan Type
Standard
Steps to Reproduce the Bug or Issue
- Create a standard logic app workflow with any trigger
- add a Select (array) action
- change it to "text" mode
- enter any array in the "From" input
- in the "Map" input, enter in two properties of the array items. In my case I used
item()['IL_CODE']anditem()['IL_DESCRIPTION'], separated by a space and surrounded by quotes: - Save the workflow (See action json below)
- close the designer
- reopen the designer
- click on the same select action. The Map input has lost the quotes:
- Click anywhere inside the map input
- click on another action
- There is now an "Invalid parameters" error, and an error in the action window:
Workflow JSON
This is just the action json:
{
"type": "Select",
"inputs": {
"from": "@body('Filter_My_Array')",
"select": "@{item()['IL_CODE']} @{item()['IL_DESCRIPTION']}"
},
"runAfter": {
"Filter_My_Array": [
"SUCCEEDED"
]
}
}
### Screenshots or Videos
_No response_
### Additional context
Azure Logic Apps (Standard) v2.86.5
VS Code:
Version: 1.85.1 (user setup) Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:49:37.021Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22631
AB#27286823
Also I just got this email:
[Azure/logicapps] Sync issue to Azure DevOps work item workflow run | [Azure/logicapps] Sync issue to Azure DevOps work item workflow run | -- | -- | --
[Azure/logicapps] Sync issue to Azure DevOps work item workflow run
Sync issue to Azure DevOps work item: All jobs have failed
[View workflow run](https://github.com/Azure/logicapps/actions/runs/7578821795)
alert
Sync issue to Azure DevOps work item / alert
Failed in 2 seconds
When I view the workflow run, I see Access Denied: The Personal Access Token used has expired so I'm guessing someone on the Azure team needs to update their PAT for this repo to sync to your DevOps!
A similar thing happens in key-value mode as well:
- add a select action
- add a property such as
approvedwith the value@bool(false) - save the designer
- edit the select action - e.g. add another property
all properties that are @bool... get changed to @{bool...}
This issue is stale because it has been open for 45 days with no activity.
Can I provide any more information to help with this?
This issue is stale because it has been open for 45 days with no activity.
This issue is stale because it has been open for 45 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.