Mutations
copyStepToRun
Copies a step from a procedure to a specific run. This is useful for making one-off changes to a run without modifying the underlying procedure.
MUTATION
copyStepToRun(input: CopyStepToRunInput!): CopyStepToRunArguments
input
required
Returns
reorderedRunSteps
[RunStep]
runStep
Mutation
mutation CopyStepToRun($input: CopyStepToRunInput!) {
copyStepToRun(input: $input) {
reorderedRunSteps {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
runStep {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
}
}Variables
{
"input": {
"runId": "id",
"stepId": "id"
}
}Response
{
"data": {
"copyStepToRun": {
"reorderedRunSteps": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
],
"runStep": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation CopyStepToRun($input: CopyStepToRunInput!) {
copyStepToRun(input: $input) {
reorderedRunSteps {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
runStep {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
Sessions {
Created
LastSessionId
Updated
checkIn
checkOut
createdBy {
__typename
}
}
_AbomInstallationsCount
_AllChildrenCount
_AllParentsCount
}
}
}Variables
{
"input": {
"runId": "id",
"stepId": "id"
}
}Response
{
"data": {
"copyStepToRun": {
"reorderedRunSteps": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
],
"runStep": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"Sessions": [
{
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"checkIn": "value",
"checkOut": "value",
"createdBy": {
"__typename": "User"
}
}
],
"_AbomInstallationsCount": 1,
"_AllChildrenCount": 1,
"_AllParentsCount": 1
}
}
}
}