Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy-Paste Not Updating Dynamic Content for Action Inside For-Each Actions #6126

Open
pranaydubeymicrosoft opened this issue Nov 14, 2024 · 0 comments · May be fixed by #6236
Open

Copy-Paste Not Updating Dynamic Content for Action Inside For-Each Actions #6126

pranaydubeymicrosoft opened this issue Nov 14, 2024 · 0 comments · May be fixed by #6236
Assignees

Comments

@pranaydubeymicrosoft
Copy link
Contributor

pranaydubeymicrosoft commented Nov 14, 2024

Describe the Bug with repro steps

  1. Create a Logic App with recurrence trigger and get items SharePoint action.
  2. Add a for-each action and iterate over the dynamic content returned from the SharePoint action.
  3. Inside the for-each action, add a compose action. Provide "Title" for input (from SharePoint dynamic content).
  4. Save Logic App.
  5. Copy the for-each action, paste it below.
  6. Actions inside the pasted for-each will have errors.

You can paste the action in notepad and see that the nodeId reflects the new value (For_each-copy) but the dynamic content inside is not updated accordingly:

{"nodeId":"For_each-copy","serializedOperation":{"type":"Foreach","foreach":"@Body('Get_items')?['value']","actions":{"Compose":{"type":"Compose","inputs":"@item()?['Title']"}},"runAfter":{"Get_items":["SUCCEEDED"]}},"allConnectionData":{},"staticResults":{},"isScopeNode":true,"mslaNode":true}

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

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

{"nodeId":"For_each-copy","serializedOperation":{"type":"Foreach","foreach":"@body('Get_items')?['value']","actions":{"Compose":{"type":"Compose","inputs":"@item()?['Title']"}},"runAfter":{"Get_items":["SUCCEEDED"]}},"allConnectionData":{},"staticResults":{},"isScopeNode":true,"mslaNode":true}

Screenshots or Videos

Image

Browser

Edge

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants