Hi, Building a custom connector, tried to add a Policy for setting the Host Url from a value of the body.
Body contains a structure like this:
{
"inputs": {
"host": {
"connectionName": "xxx",
"operationId": "Sendmsg",
"apiId": "/providers/Microsoft.PowerApps/apis/xxxx"
},
"parameters": {
"body/header/id": "@triggerBody()['text']",
],
"body/data/MyHostUrl": "@triggerBody()['text_2']",
( ... )
},
}
}
I would like to use the value of the pink value body.data.MyHostUrl as a Host Url, but I'm not familiar with expressions.
Tried: (with no success):
@queryParameters('MyHostUrl')
@queryParameters('data.MyHostUrl')
@queryParameters('body().data.MyHostUrl')
@queryParameters('body.data.MyHostUrl')
@queryParameters('@body().data.MyHostUrl')
In this screen:
And I receive all the time an error like this:
I feel fustrated
Anybody with expirience building custom connectors could help me sleep again?
Very appreciate
Thank you v/much
Any idea? 😨I'm very stressed because of this, thank u
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.