vw_workflow_trigger_histories
Creates, updates, deletes, gets or lists a vw_workflow_trigger_histories
resource.
Overview
Name | vw_workflow_trigger_histories |
Type | View |
Id | azure.app_service.vw_workflow_trigger_histories |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.endTime') as "end_time",
JSON_EXTRACT(properties, '$.scheduledTime') as "scheduled_time",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.code') as "code",
JSON_EXTRACT(properties, '$.error') as "error",
JSON_EXTRACT(properties, '$.trackingId') as "tracking_id",
JSON_EXTRACT(properties, '$.correlation') as "correlation",
JSON_EXTRACT(properties, '$.inputsLink') as "inputs_link",
JSON_EXTRACT(properties, '$.outputsLink') as "outputs_link",
JSON_EXTRACT(properties, '$.fired') as "fired",
JSON_EXTRACT(properties, '$.run') as "run",
subscriptionId,
resourceGroupName,
name,
workflowName,
triggerName,
historyName
FROM azure.app_service.workflow_trigger_histories
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND name = 'replace-me' AND workflowName = 'replace-me' AND triggerName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.startTime') as "start_time",
json_extract_path_text(properties, '$.endTime') as "end_time",
json_extract_path_text(properties, '$.scheduledTime') as "scheduled_time",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.code') as "code",
json_extract_path_text(properties, '$.error') as "error",
json_extract_path_text(properties, '$.trackingId') as "tracking_id",
json_extract_path_text(properties, '$.correlation') as "correlation",
json_extract_path_text(properties, '$.inputsLink') as "inputs_link",
json_extract_path_text(properties, '$.outputsLink') as "outputs_link",
json_extract_path_text(properties, '$.fired') as "fired",
json_extract_path_text(properties, '$.run') as "run",
subscriptionId,
resourceGroupName,
name,
workflowName,
triggerName,
historyName
FROM azure.app_service.workflow_trigger_histories
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND name = 'replace-me' AND workflowName = 'replace-me' AND triggerName = 'replace-me';