Query
query WorkflowTargetSummaries($targets: [WorkflowTargetSummaryInput!]!) {
workflowTargetSummaries(targets: $targets) {
resourceKind
resourceId
activeRuns {
id
workflowId
displayNumber
status
}
}
}Variables
{
"targets": [
{
"resourceKind": "string",
"resourceId": "id"
}
]
}Response
{
"data": {
"workflowTargetSummaries": [
{
"resourceKind": "string",
"resourceId": "id",
"activeRuns": [
{
"id": "id",
"workflowId": "id",
"displayNumber": 1,
"status": "QUEUED"
}
]
}
]
}
}Queries
workflowTargetSummaries
Batch compact active-run summaries for rendered workflow resources.
QUERY
workflowTargetSummaries(targets: [WorkflowTargetSummaryInput!]!): [WorkflowTargetSummary!]!Arguments
targets
required
Resource targets to retrieve in one batch; duplicate targets are combined.
Returns
resourceKind
String!
Kind of linked resource whose workflow runs are being observed.
resourceId
ID!
Identifier of the linked resource.
activeRuns
All non-terminal workflow runs linked to this resource.
Query
query WorkflowTargetSummaries($targets: [WorkflowTargetSummaryInput!]!) {
workflowTargetSummaries(targets: $targets) {
resourceKind
resourceId
activeRuns {
id
workflowId
displayNumber
status
}
}
}Variables
{
"targets": [
{
"resourceKind": "string",
"resourceId": "id"
}
]
}Response
{
"data": {
"workflowTargetSummaries": [
{
"resourceKind": "string",
"resourceId": "id",
"activeRuns": [
{
"id": "id",
"workflowId": "id",
"displayNumber": 1,
"status": "QUEUED"
}
]
}
]
}
}