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

javascript outputs reference is broken by logic app visual editor #880

Closed
mike-vosskuhler opened this issue Sep 13, 2023 · 2 comments
Closed
Labels

Comments

@mike-vosskuhler
Copy link

mike-vosskuhler commented Sep 13, 2023

Describe the Bug

Intermittedly when we save logic apps the following syntax body('Execute_JavaScript_Code') is automatically replace with body('Execute_JavaScript_Code')['body'].
When this happens we get an error indicating that the body coming from the javascript execution action does not have a body field. Which makes sense since we already selected the body using the body() function.

Plan Type

Consumption

Steps to Reproduce the Bug or Issue

  1. create a logic app that uses the inline code action to execute some javascript.
  2. add another step that uses the results from the inline code (for example a compose or http step)
  3. make changes and save several times until the body('Execute_JavaScript_Code')['body'] part is replaced by body('Execute_JavaScript_Code')
  4. Now if you run the logic app it will fail due to the additional body selection pattern being appended to the javascript reference.

Workflow JSON

No response

Screenshots or Videos

image

Additional context

If you run into any issues replicating the issue place reach out to me and I can show the issue in a live session.

AB#25154229

@github-actions
Copy link

This issue is stale because it has been open for 45 days with no activity.

@github-actions github-actions bot added the stale label Oct 28, 2023
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

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

No branches or pull requests

1 participant