Create Workflow
Create a workflow. By default, the workflow will be created as a draft. The draft field in the input can be set to false to make the workflow runable
orgId
Show optional properties
{
"source": "string"
}
{
"draft": "string",
"source": "string"
}
draft
source
Created
{
"workflow": {
"annotations": [
"string"
],
"createdBy": "string",
"creationtime": "string",
"description": "string",
"draft": "string",
"id": 0,
"jsonSchemaId": 0,
"lastupdated": "string",
"name": "string",
"organizationId": "string",
"resourceVersion": 0,
"source": "string",
"updatedBy": "string",
"version": "string",
"workflowId": "string"
}
}
Bad Request
{
"code": 0,
"context": {},
"error": "string",
"status": "string"
}
Application-specific error code.
Application context.
Error message.
Status text.
Forbidden
{
"code": 0,
"context": {},
"error": "string",
"status": "string"
}
Application-specific error code.
Application context.
Error message.
Status text.
Conflict
{
"code": 0,
"context": {},
"error": "string",
"status": "string"
}
Application-specific error code.
Application context.
Error message.
Status text.
Internal Server Error
{
"code": 0,
"context": {},
"error": "string",
"status": "string"
}
Application-specific error code.
Application context.
Error message.
Status text.