workflow_trigger_histories
Creates, updates, deletes, gets or lists a workflow_trigger_histories
resource.
Overview
Name | workflow_trigger_histories |
Type | Resource |
Id | azure.logic_apps.workflow_trigger_histories |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | The resource id. |
name | string | Gets the workflow trigger history name. |
properties | object | Gets the workflow trigger history properties. |
type | string | Gets the workflow trigger history type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource id. |
name | string | Gets the workflow trigger history name. |
properties | object | Gets the workflow trigger history properties. |
type | string | Gets the workflow trigger history type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , workflowName , triggerName , historyName | api-version | Gets a workflow trigger history. |
list | select | subscriptionId , resourceGroupName , workflowName , triggerName | api-version , $top , $filter | Gets a list of workflow trigger histories. |
resubmit | exec | subscriptionId , resourceGroupName , workflowName , triggerName , historyName | api-version | Resubmits 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.
Name | Datatype | Description |
---|---|---|
historyName | string | The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. |
resourceGroupName | string | The resource group name. |
subscriptionId | string | The subscription id. |
triggerName | string | The workflow trigger name. |
workflowName | string | The workflow name. |
$filter | string | The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. |
$top | integer (int32) | The number of items to be included in the result. |
api-version | string | The API version. |
SELECT
examples
- get
- list
Gets a workflow trigger history.
SELECT
id,
name,
properties,
type
FROM azure.logic_apps.workflow_trigger_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND triggerName = '{{ triggerName }}' -- required
AND historyName = '{{ historyName }}' -- required
AND api-version = '{{ api-version }}'
;
Gets a list of workflow trigger histories.
SELECT
id,
name,
properties,
type
FROM azure.logic_apps.workflow_trigger_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND triggerName = '{{ triggerName }}' -- required
AND api-version = '{{ api-version }}'
AND $top = '{{ $top }}'
AND $filter = '{{ $filter }}'
;
Lifecycle Methods
- resubmit
Resubmits a workflow run based on the trigger history.
EXEC azure.logic_apps.workflow_trigger_histories.resubmit
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workflowName='{{ workflowName }}' --required,
@triggerName='{{ triggerName }}' --required,
@historyName='{{ historyName }}' --required,
@api-version='{{ api-version }}'
;