microsoft / powercat-business-approvals-kit

MIT License
35 stars 4 forks source link

[Business Approvals Kit - BUG] Retry sending multiple approvals #292

Open azuappsautomate opened 3 months ago

azuappsautomate commented 3 months ago

Describe the issue

We are using this for several production apps and seeing a lot of duplicate sometimes triple approvals for one flow. From what I can tell it appears it has to do with the connector itself. Each time it does a retry it still sends the approval so we end up with duplicate approvals.

image

Expected Behavior

I would expect that a retry would not send a duplicate approval and only send the approval on success.

What solution version are you using?

1.0.20240702.1

What app or flow are you having the issue with?

Connector

Steps To Reproduce

Trigger a flow and call the Business Approval Connector If Retry occurs it will send duplicate approval request.

Anything else?

No response