Azure ListRuns

Azure ListRuns

Certified

List Azure Logic App workflow runs

Lists recent workflow runs for a Logic App, optionally filtered by run status.

yaml
type: io.kestra.plugin.azure.logicapps.ListRuns

List runs

yaml
id: azure_logic_apps_list_runs
namespace: company.team

tasks:
  - id: list_runs
    type: io.kestra.plugin.azure.logicapps.ListRuns
    tenantId: "{{ secret('AZURE_TENANT_ID') }}"
    clientId: "{{ secret('AZURE_CLIENT_ID') }}"
    clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
    subscriptionId: "{{ secret('AZURE_SUBSCRIPTION_ID') }}"
    resourceGroupName: my-resource-group
    workflowName: my-logic-app
    statusFilter: Failed

  - id: log_count
    type: io.kestra.plugin.core.log.Log
    message: "Found {{ outputs.list_runs.total }} failed runs"
Properties

Resource group name

Azure resource group containing the Logic App workflow.

Subscription ID

Azure subscription GUID that owns the Logic App workflow.

Azure AD tenant ID (GUID)

Workflow name

Name of the Azure Logic App workflow.

Client ID of the Azure AD application

Application (client) ID used for service principal authentication.

Client secret for the Azure AD application

Secret value associated with the client ID; store in a Kestra secret.

Default100

Maximum runs

Maximum number of workflow runs to return. Defaults to 100.

PEM-encoded certificate content for client authentication

PEM text for certificate-based auth; alternative to clientSecret.

Reference (ref) of the pluginDefaults to apply to this task.

Status filter

Optional workflow run status to filter on, for example Succeeded, Failed, or Cancelled.

Workflow runs

Workflow runs returned by Azure Logic Apps.

Definitions
codestring

Code

Result code reported by Azure Logic Apps.

correlationIdstring

Correlation ID

Correlation ID associated with the workflow run.

endTimestring
Formatdate-time

End time

Workflow run end time.

errorobject

Error

Error payload returned by Azure Logic Apps, when available.

idstring

Run ID

Azure resource ID of the workflow run.

namestring

Run name

Name of the workflow run.

outputsobject

Outputs

Workflow run outputs keyed by output name.

startTimestring
Formatdate-time

Start time

Workflow run start time.

statusstring

Status

Current status of the workflow run.

Total runs

Number of workflow runs returned.