With the JSON below, I am trying to get the dataset and table values. (This is only the code that is needed. "..." is unimportant code)
Variable('FlowDetail')
{
"headers": {...},
"body": {
"name": "01023adf-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
...
"properties": {
"displayName": "ColCal - Master Col Calendar WF v1",
"userType": "Owner",
"definition": {
...
"triggers": {
"When_an_item_is_created_or_modified": {
...
"inputs": {
...
"parameters": {
"dataset": "https://xxxxxxxxxxxxxxxxxxxx",
"table": "01023adf-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"
},
...
}
}
(Lots more code but not important)
----------------
So to get the value for dataset I use the following expression:
Variable('FlowDetail')?['body']?['properties']?['triggers']?['When_an_item_is_created_or_modified']?['inputs']?['parameters']?['dataset']
BUT: When_an_item_is_created_or_modified is not a constant. I am getting the detail on all my flows and the name of the tirgger step is different each time.
What do I do?
What I did - but ran into a dead end... (even if there is a different solution for the above - I still want to know this...)
I constructed a string in a compose that contains the extension code, but I can't figure out how to convert the string into an expression...
