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.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

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.

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.