Azure / Azure/LogicAppsUX

Dynamic values are not re-setting after the change in input fields

Open
#4,035 2 comments 0 reactions 1 assignee Claimed by @Eric-B-Wu View on GitHub
Dynamic Data
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Describe the Bug with repro steps

1. [Internal] Open [sid-sap-testbox.ui-test]() in `BTS4`
2. Create `[RFC] Call function in SAP` in-app action
3. Set the `Input Type` to `Custom`
4. Then select the optional `RFC Name`, and set it as `STFC_CONNECTION`
5. A new dynamic textbox appear `REQTEXT`, enter `Hello` in that

![image]()

6. Save and refresh the page.
7. Change the `RFC Name` to `RFC_XML_TEST_1`.
8. It will call `/dynamicInvoke` again, and new array field `IM_XML_TABLE` will appear.
9. Input `Hello` in that and click save.
10. In code view, You can still see parameter `REQTEXT` which was only present for `STFC_CONNECTION`.

![image]()

### What type of Logic App Is this happening in?

Standard (Portal)

### Are you using new designer or old designer

New Designer

### Did you refer to the TSG before filing this issue? [https://aka.ms/lauxtsg]()

Yes

### Workflow JSON

```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"For_each": {
"actions": {
"Compose": {
"inputs": "-> @{items('For_each')}",
"type": "Compose"
}
},
"foreach": "@outputs('[RFC]_Call_function_in_SAP')?['body']?['content']?['OUT_XML_TABLE']",
"runAfter": {
"[RFC]_Call_function_in_SAP": [
"SUCCEEDED"
]
},
"type": "foreach"
},
"[RFC]_Call_function_in_SAP": {
"inputs": {
"parameters": {
"body": {
"IM_XML_TABLE": [
"Hello"
],
"REQUTEXT": "Hello"
},
"inputBodyType": "Custom",
"outputBodyType": "JSON",
"rfcGroupFilter": "*",
"rfcName": "RFC_XML_TEST_1"
},
"serviceProviderConfiguration": {
"connectionName": "sap",
"operationId": "callRfc",
"serviceProviderId": "/serviceProviders/sap"
}
},
"runAfter": {},
"type": "ServiceProvider"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"When_a_HTTP_request_is_received": {
"kind": "Http",
"type": "Request"
}
}
},
"kind": "Stateful"
}
```

### Screenshots or Videos

*No response*

### Browser

Edge

### Additional context

*No response*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.