Hello, I'm documenting the architecture of my application built using power platform and I have the following question:
In the diagrams that I saw, not sure if they are correct, power automate use dataverse API, but if this is true how it is possible that a flow is triggered when a record is created in dataverse? Because if power automate use dataverse API I think it means that power automate sends REST requests to dataverse and this would mean requests are sent like every second to check if something was created.
In my opinion it would be more correct that Dataverse uses Power Automate API to send a request saying that a new record was created so the flow can be triggered.
What do you think of this?
Here is an example of the logic view of view model 4+1 and of level 2 of C4 model of the first case ( power automate uses Dataverse API): https://ibb.co/VY5fK1z
Hi @roger40,
The underlying trigger depends on the connector that is used. In the case of the Dataverse connector, it uses webhooks under the hood. Other connectors may use continuous polling to check for changes.
Power Automate under the hood does store flow runs in the Process Sessions table in Dataverse, so it does interact with the Dataverse API when a flow runs.
More information on webhook and polling triggers at the references below.
https://docs.microsoft.com/en-us/connectors/custom-connectors/create-webhook-trigger
https://docs.microsoft.com/en-us/connectors/custom-connectors/create-polling-trigger
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
24 | |
20 | |
9 | |
8 | |
8 |
User | Count |
---|---|
40 | |
33 | |
26 | |
22 | |
13 |