Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
75 stars 81 forks source link

Monitoring view: Not showing outputs data for some actions #5908

Open vgouth opened 1 day ago

vgouth commented 1 day ago

Describe the Bug with repro steps

  1. Create a new Logic App Project
  2. Add a workflow to your local project
  3. Open the workflow.json file in designer and author a new workflow

    a. Add http request Trigger

    b. Add a compose action here with custom text

    c. Add a ServiceBus action. From the add new paramter dropdown add content and add random text in JSON format like {"a":"b"}

    d. Add a send email action with the body being the output of the compose action (step b)

    e. Add a new connection to your email action

    f. Add http response action

  4. Press F5 to build and run your project
  5. Run the workflow

    a. Open overview page. Right + Click on workflow.json file and "Overview"

    b. Copy call back URL from the overview page

    c. Send the http request POST via Postman and wait for the response

  6. Refresh the overview page and your should see your local run
  7. Open the monitoring view for your run from the overview page
  8. Verify the run details and action inputs and output

Expected:Monitoring view should show all the inputs and outputs data.

Actual:Monitoring view not showing outputs data for some actions. When we click on show raw output we could see the data.

What type of Logic App Is this happening in?

Standard (VSCode)

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

No response

Screenshots or Videos

Image

Image

Browser

VS Code

Additional context

VSIX Version : 4.107.0

rllyy97 commented 21 hours ago

I'm seeing this issue in Portal as well, specifically on the Service Bus "Send message" action

rllyy97 commented 20 hours ago

It looks like in libs\designer\src\lib\core\actions\bjsworkflow\monitoring.ts we are relying on the output parameters from rootState.operations.outputParameters, and for the service bus send message action that data is empty. Since we have no outputParameters being passed to the OutputsBinder, we are binding no output parameters to show in the UI

vgouth commented 20 hours ago

@rllyy97 Yes, issue repro only in VS code for response action. Agreed with service bus action has no outputs.

rllyy97 commented 20 hours ago

Related PR: https://github.com/Azure/LogicAppsUX/pull/5723