Query
query PrepareWorkflowReplay($runId: ID!, $nodeId: ID!) {
prepareWorkflowReplay(runId: $runId, nodeId: $nodeId) {
runId
nodeId
affectedNodeIds
affectedAttemptIds
externalEffects {
kind
resourceId
label
url
}
checkpointId
}
}Variables
{
"runId": "id",
"nodeId": "id"
}Response
{
"data": {
"prepareWorkflowReplay": {
"runId": "id",
"nodeId": "id",
"affectedNodeIds": [
"id"
],
"affectedAttemptIds": [
"id"
],
"externalEffects": [
{
"kind": "string",
"resourceId": "string",
"label": "string",
"url": "string"
}
],
"checkpointId": "id"
}
}
}Queries
prepareWorkflowReplay
Prepares a workflow replay and returns a preview without applying changes.
QUERY
prepareWorkflowReplay(runId: ID!, nodeId: ID!): WorkflowReplayPreview!Arguments
runId
ID!
required
Identifier of the run.
nodeId
ID!
required
Identifier of the node.
Returns
runId
ID!
Identifier of the related run.
nodeId
ID!
Identifier of the related node.
affectedNodeIds
[ID!]!
Identifiers of the related affected nodes.
affectedAttemptIds
[ID!]!
Identifiers of the related affected attempts.
externalEffects
External effects associated with this workflow replay preview.
checkpointId
ID
Identifier of the related checkpoint. May be null when unavailable or not applicable.
gitComparison
JSON
The git comparison associated with this workflow replay preview. May be null when unavailable or not applicable.
warning
String
Warning associated with this workflow replay preview. May be null when unavailable or not applicable.
Query
query PrepareWorkflowReplay($runId: ID!, $nodeId: ID!) {
prepareWorkflowReplay(runId: $runId, nodeId: $nodeId) {
runId
nodeId
affectedNodeIds
affectedAttemptIds
externalEffects {
kind
resourceId
label
url
}
checkpointId
}
}Variables
{
"runId": "id",
"nodeId": "id"
}Response
{
"data": {
"prepareWorkflowReplay": {
"runId": "id",
"nodeId": "id",
"affectedNodeIds": [
"id"
],
"affectedAttemptIds": [
"id"
],
"externalEffects": [
{
"kind": "string",
"resourceId": "string",
"label": "string",
"url": "string"
}
],
"checkpointId": "id"
}
}
}