Hi everyone.
I present my problem to you:
I created an application for configuring an order. When the order is confirmed, the Patch function writes the data in the SQL DB and subsequently calls a stream which, based on the QuotationID that I pass to it, creates an adaptive card on Teams with the data of the record just entered. This works fine until I place an order at a time. During the tests, if I make several entries (with different devices, tablets, PCs, smartphones) close together, the flow always draws the same record (the last one) because the db is not updated in time. I think it can be linked to the asynchronous management of tasks. As a possible solution I thought of a possible SQL transaction.
is it possible to run an SQL transaction in PowerApps?

This is what I got doing two orders in a row. I got twice the same QuotationID (466 instead of 466 and 467) .
Please, Can anyone tell me a better and feasible solution?
Thanks
Andi