Mutations
updateProcedure
Updates an existing procedure. This can be used to change the procedure’s name, description, or other properties.
MUTATION
updateProcedure(input: UpdateProcedureInput!): UpdateProcedureArguments
input
required
Returns
procedure
Mutation
mutation UpdateProcedure($input: UpdateProcedureInput!) {
updateProcedure(input: $input) {
procedure {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": {
"etag": "string",
"id": "id"
}
}Response
{
"data": {
"updateProcedure": {
"procedure": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation UpdateProcedure($input: UpdateProcedureInput!) {
updateProcedure(input: $input) {
procedure {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_ApprovalRequestsCount
_ApprovalsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"input": {
"etag": "string",
"id": "id"
}
}Response
{
"data": {
"updateProcedure": {
"procedure": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_ApprovalRequestsCount": 1,
"_ApprovalsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}