I found the issue.
I created the logic app with a wrong template.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have an azure logic app data flow, in which its intended to send a daily email with sendgrid, with the total number of files uploaded the day before to a blobstorage container.
But I am getting the Get Web Apps Hostruntime Workflow Trigger Uri error, with the message
The 'ListCallbackUrl' API is not supported by triggers of type 'Recurrence'., and the error code ApiNotSupported.
The generated json is like a follow:
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Current_time": {
"inputs": {},
"kind": "CurrentTime",
"runAfter": {
"List_all_blobs_using_path": [
"SUCCEEDED"
]
},
"type": "Expression"
},
"Enviar_correo_electrónico_(V4)": {
"inputs": {
"body": {
"from": "******@test.es",
"ishtml": true,
"subject": "Test",
"text": "The total of the wallets it´s @{variables('Count')}",
"to": "******@test.es"
},
"host": {
"connection": {
"referenceName": "sendgrid"
}
},
"method": "post",
"path": "/v4/mail/send"
},
"runAfter": {
"For_each": [
"SUCCEEDED"
]
},
"type": "ApiConnection"
},
"For_each": {
"actions": {
"Condition": {
"actions": {
"Increment_variable": {
"inputs": {
"name": "Count",
"value": 1
},
"type": "IncrementVariable"
}
},
"else": {
"actions": {}
},
"expression": {
"and": [
{
"greater": [
"@item('For_each')?['creationTime']",
"@addDays(body('Current_time'),-1)"
]
}
]
},
"type": "If"
}
},
"foreach": "@body('List_all_blobs_using_path')?['blobs']",
"runAfter": {
"Current_time": [
"SUCCEEDED"
]
},
"type": "Foreach"
},
"Initialize_variable": {
"inputs": {
"variables": [
{
"name": "Count",
"type": "integer",
"value": 0
}
]
},
"runAfter": {},
"type": "InitializeVariable"
},
"List_all_blobs_using_path": {
"inputs": {
"parameters": {
"containerName": "namecontainer"
},
"serviceProviderConfiguration": {
"connectionName": "AzureBlob",
"operationId": "listBlobs",
"serviceProviderId": "/serviceProviders/AzureBlob"
}
},
"runAfter": {
"Initialize_variable": [
"SUCCEEDED"
]
},
"type": "ServiceProvider"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"Recurrence": {
"recurrence": {
"frequency": "Minute",
"interval": 3
},
"type": "Recurrence"
}
}
},
"kind": "Stateful"
}
And this is my workflow ...
This is the artifact For each
Someone can help me?
I found the issue.
I created the logic app with a wrong template.