Skip to main content

workflow_trigger_histories

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

Overview

Nameworkflow_trigger_histories
TypeResource
Idazure.app_service.workflow_trigger_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource id.
namestringGets the workflow trigger history name.
propertiesobjectGets the workflow trigger history properties.
typestringGets the workflow trigger history type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, name, workflowName, triggerName, historyNameGets a workflow trigger history.
listselectsubscriptionId, resourceGroupName, name, workflowName, triggerName$top, $filterGets a list of workflow trigger histories.
resubmitexecsubscriptionId, resourceGroupName, name, workflowName, triggerName, historyNameResubmits a workflow run based on the trigger history.

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
historyNamestringThe workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.
namestringSite name.
resourceGroupNamestringName of the resource group to which the resource belongs.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
triggerNamestringThe workflow trigger name.
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.

SELECT examples

Gets a workflow trigger history.

SELECT
id,
name,
properties,
type
FROM azure.app_service.workflow_trigger_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND triggerName = '{{ triggerName }}' -- required
AND historyName = '{{ historyName }}' -- required
;

Lifecycle Methods

Resubmits a workflow run based on the trigger history.

EXEC azure.app_service.workflow_trigger_histories.resubmit 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@name='{{ name }}' --required,
@workflowName='{{ workflowName }}' --required,
@triggerName='{{ triggerName }}' --required,
@historyName='{{ historyName }}' --required
;