Azure / Azure/LogicAppsUX

Discard button not functioning as intended

Open
#6,722 18 comments 1 reaction 1 assignee Claimed by @ccastrotrejo View on GitHub
Found By Testers
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Describe the Bug with repro steps

1. Create a standard logic app
2. Add stateful workflow
3. Open designer
4. Add http request trigger
5. Save the workflow
6. Now confirm the pop up whether the workflow is saved or not
7. Once the workflow is saved add one action of your choice, I am taking response action in this case
8. Now verify both save and discard buttons are enabled after adding response action
9. Click on discard button

**Expected:** Actions added after the workflow is saved should be removed when the discard button is clicked.

**Actual:**We have a HTTP request trigger in the workflow that is already saved. Now, we have added a response action which is not saved. When we click the discard button, it deletes the entire workflow instead of just the response action. To retrieve the saved workflow, we need to either refresh the Azure website or switch from the designer to another blade and then back to the designer blade which is not the correct way.

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

Standard (Portal)

### Which operating system are you using?

Windows

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

Yes

### Workflow JSON

```json

```

### Screenshots or Videos

[https://github.com/user-attachments/assets/409a104a-cc89-40f6-90e9-67060aa5eb0d]()

### Browser

Edge

### Additional context

**Version:** 2\.50224.1.3

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.