I want to update an activity record (phone call/task etc) depending on its type.
How do I do this using the action 'Update a record' ? I need to specify an entity type but I want to do this dynamically using a variable?
The variable contains the activity entity type.
I get the following when I enter the entity type using a custom value :
I am not able to progress further.
Solved! Go to Solution.
Hi @Stanza,
As far as I am aware this is limitation of that update a record action.
However, a workaround could be to use the Web API of Microsoft DataVerse instead: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/overview
1. Register an app in Azure AD and assign the Microsoft DataVerse impersonation delegated permissions
2. Create an Application User with the Client Id of the Azure AD App
3. Use an HTTP action in your flow with the following URI and the client id, tenant id and secret from your Azure AD app in the authentication section.
@{variables('EnvironmentUrl')}/api/data/v9.0/@{variables('Entity')}(@{variables('RecordId')})
Hi @Stanza,
As far as I am aware this is limitation of that update a record action.
However, a workaround could be to use the Web API of Microsoft DataVerse instead: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/overview
1. Register an app in Azure AD and assign the Microsoft DataVerse impersonation delegated permissions
2. Create an Application User with the Client Id of the Azure AD App
3. Use an HTTP action in your flow with the following URI and the client id, tenant id and secret from your Azure AD app in the authentication section.
@{variables('EnvironmentUrl')}/api/data/v9.0/@{variables('Entity')}(@{variables('RecordId')})
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
22 | |
18 | |
17 | |
13 |
User | Count |
---|---|
126 | |
37 | |
30 | |
28 | |
26 |