Skip to main content

workflow_runs

Creates, updates, deletes, gets or lists a workflow_runs resource.

Overview

Nameworkflow_runs
TypeResource
Idazure.logic_apps.workflow_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource id.
namestringGets the workflow run name.
propertiesobjectThe workflow run properties.
typestringGets the workflow run type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workflowName, runNameapi-versionGets a workflow run.
listselectsubscriptionId, resourceGroupName, workflowNameapi-version, $top, $filterGets a list of workflow runs.
cancelexecsubscriptionId, resourceGroupName, workflowName, runNameapi-versionCancels a workflow run.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe resource group name.
runNamestringThe workflow run name.
subscriptionIdstringThe subscription id.
workflowNamestringThe workflow name.
$filterstringThe filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.
$topinteger (int32)The number of items to be included in the result.
api-versionstringThe API version.

SELECT examples

Gets a workflow run.

SELECT
id,
name,
properties,
type
FROM azure.logic_apps.workflow_runs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND runName = '{{ runName }}' -- required
AND api-version = '{{ api-version }}'
;

Lifecycle Methods

Cancels a workflow run.

EXEC azure.logic_apps.workflow_runs.cancel 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workflowName='{{ workflowName }}' --required,
@runName='{{ runName }}' --required,
@api-version='{{ api-version }}'
;