Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

createAssetWorkflowTask():CreateAssetWorkflowTask
Beta

BETA Create a new WorkflowTask for an Asset in a given WorkflowStatus. Requires basic:write scope to be accessible and Project permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateAssetWorkflowTaskInput
assetId: ID!
Beta

BETA Id of the Asset which should be linked to the WorkflowTask.

workflowStatusId: ID!
Beta

BETA Id of the WorkflowStatus where the WorkflowTask should be created.

assigneeUserIds: [ID!]
Beta

BETA List of User ids to be assigned to the WorkflowTask. Currently, only one Id is supported.

statusEnterMessage: String
Beta

BETA WorkflowTask enter message. Optionally required by a EnterRule of the given WorkflowStatus.

Fields of CreateAssetWorkflowTask
workflowTask:WorkflowTask
Beta

BETA The newly created WorkflowTask.