API

Create workflows

Create workflows. This applies the validated business action to the selected tenant or platform resource.

POST/api/workflows
Preview

Create workflows. This applies the validated business action to the selected tenant or platform resource.

Operation ID postapiWorkflows

Operation details

Purpose

Create workflows. This applies the validated business action to the selected tenant or platform resource.

When to use it

Use this when the documented business action or resource creation is the intended next step.

When not to use it

Do not repeat the request blindly after an uncertain outcome. Read the resulting resource or background operation state first.

Contract

Availability

Product version
Next Product release
Licence
An active Product licence is required except for health, authentication, and licence remediation operations.
Entitlements
workflow.enabled
Service roles
workflow
Deployment
customer managed installation
Feature state
preview

Security

Access

Sign in: Use a session cookie or Bearer session token.

Actor
Authenticated Pūnaha actor authorised for the selected tenant and resource
Permission
workflows.manage
Resource
workflow / create
Tenant rule
Tenant scoped unless the selected actor is performing an explicitly documented platform action. The x organization id header or authenticated session context selects the tenant. It does not grant access.
Explicit deny
An applicable explicit deny overrides an allow. Knowing or supplying a resource identifier never grants access.

Address, query and header fields

FieldLocationPresenceTypeMeaningLimits and example
x-request-idheaderOptionalstringOptional caller supplied correlation identifier. Pūnaha returns the effective value in the response header.Minimum length: 1. Maximum length: 200. Example: example request 001

Request body

Content type: application/json. Presence: Required.

Operation request. Every property documents omission, null, sensitivity, source, mutability, availability, access, and lifecycle semantics through JSON Schema and x punaha-* annotations.

Request fields5 documented fields

Request fields

FieldPresenceTypeMeaningEmpty and defaultLimits and exampleAccess, sensitivity and lifecycle
definitionoptionalWorkflowDefinitionRequest or nullThe definition associated with this resource or operation.The field may be omitted. Omission is different from null, an empty string, an empty collection, zero, or false. Default: No client default is assumed unless a JSON Schema default is present.No additional schema limit is listedInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
descriptionrequiredstringThe description associated with this resource or operation.The field is present. Empty strings or collections are valid only when the field constraints and operation rules allow them. Default: No client default is assumed unless a JSON Schema default is present.Example: example valueInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
displayNamerequiredstringThe display name associated with this resource or operation.The field is present. Empty strings or collections are valid only when the field constraints and operation rules allow them. Default: No client default is assumed unless a JSON Schema default is present.Example: example valueInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
folderIdoptionalstring or nullThe folder id associated with this resource or operation.The field may be omitted. Omission is different from null, an empty string, an empty collection, zero, or false. Default: No client default is assumed unless a JSON Schema default is present.Example: example valueInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
slugrequiredstringThe slug associated with this resource or operation.The field is present. Empty strings or collections are valid only when the field constraints and operation rules allow them. Default: No client default is assumed unless a JSON Schema default is present.Example: example valueInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
Complete representative request using synthetic data
{
  "definition": {
    "bpmn": {
      "categories": [
        {
          "id": "example-value",
          "name": "example-value",
          "values": [
            {
              "id": "example-value",
              "value": "example-value"
            }
          ]
        }
      ],
      "choreographies": [
        {
          "activities": [
            {
              "calledElementRef": "example-value",
              "children": [
                {}
              ],
              "elementType": "example-value",
              "id": "example-value",
              "initiatingParticipantRef": "example-value",
              "loop": {
                "behavior": "example-value",
                "collection": "example-value",
                "completionCondition": "example-value",
                "complexBehaviorDefinitions": [
                  {
                    "condition": "example-value",
                    "eventDefinitions": [
                      {
                        "activityRef": "example-value",
                        "expression": "example-value",
                        "id": "example-value",
                        "language": "example-value",
                        "operationRef": "example-value",
                        "reference": "example-value",
                        "sources": [
                          "example-value"
                        ],
                        "target": "example-value",
                        "timeCycle": "example-value",
                        "timeDate": "example-value",
                        "timeDuration": "example-value",
                        "type": "example-value",
                        "waitForCompletion": true,
                        "waitForCompletionSpecified": true
                      }
                    ],
                    "id": "example-value"
                  }
                ],
                "elementVariable": "example-value",
                "id": "example-value",
                "kind": "example-value",
                "loopCondition": "example-value",
                "loopMaximum": 1,
                "noneBehaviorEventRef": "example-value",
                "oneBehaviorEventRef": "example-value",
                "sequential": true,
                "testBefore": true
              },
              "messageFlowRefs": [
                "example-value"
              ],
              "name": "example-value",
              "participantRefs": [
                "example-value"
              ]
            }
          ],
          "artifacts": [
            {
              "associationDirection": "example-value",
              "categoryValueRef": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "name": "example-value",
              "position": {
                "x": 1.5,
                "y": 1.5
              },
              "sourceRef": "example-value",
              "targetRef": "example-value",
              "text": "example-value"
            }
          ],
          "edges": [
            {
              "bpmn": {
                "assignments": [
                  "example-value"
                ],
                "associationDirection": "example-value",
                "conditionExpression": "example-value",
                "conditionLanguage": "example-value",
                "correlationKeyRefs": [
                  "example-value"
                ],
                "elementType": "example-value",
                "isImmediate": true,
                "messageRef": "example-value",
                "name": "example-value",
                "operationRef": "example-value",
                "transformation": "example-value",
                "waypoints": [
                  {
                    "x": 1.5,
                    "y": 1.5
                  }
                ]
              },
              "branch": "example-value",
              "condition": {
                "label": "example-value",
                "left": "example-value",
                "on": "example-value",
                "operator": "example-value",
                "value": "example-value"
              },
              "id": "example-value",
              "loop": {
                "carry": {
                  "previousError": true,
                  "previousOutput": true,
                  "reviewerFeedback": true,
                  "validationFeedback": true,
                  "variables": [
                    "example-value"
                  ]
                },
                "delaySeconds": 1,
                "maximumIterations": 1,
                "onMaximum": {
                  "action": "example-value",
                  "target": "example-value"
                }
              },
              "source": "example-value",
              "target": "example-value",
              "type": "example-value"
            }
          ],
          "id": "example-value",
          "initiatingParticipantRef": "example-value",
          "name": "example-value",
          "participants": [
            {
              "id": "example-value",
              "multiplicityMaximum": 1,
              "multiplicityMinimum": 1,
              "name": "example-value",
              "partnerEntityRef": "example-value",
              "partnerRoleRef": "example-value",
              "processRef": "example-value"
            }
          ]
        }
      ],
      "collaborations": [
        {
          "artifacts": [
            {
              "associationDirection": "example-value",
              "categoryValueRef": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "name": "example-value",
              "position": {
                "x": 1.5,
                "y": 1.5
              },
              "sourceRef": "example-value",
              "targetRef": "example-value",
              "text": "example-value"
            }
          ],
          "closed": true,
          "conversationLinks": [
            {
              "bpmn": {
                "assignments": [
                  "example-value"
                ],
                "associationDirection": "example-value",
                "conditionExpression": "example-value",
                "conditionLanguage": "example-value",
                "correlationKeyRefs": [
                  "example-value"
                ],
                "elementType": "example-value",
                "isImmediate": true,
                "messageRef": "example-value",
                "name": "example-value",
                "operationRef": "example-value",
                "transformation": "example-value",
                "waypoints": [
                  {
                    "x": 1.5,
                    "y": 1.5
                  }
                ]
              },
              "branch": "example-value",
              "condition": {
                "label": "example-value",
                "left": "example-value",
                "on": "example-value",
                "operator": "example-value",
                "value": "example-value"
              },
              "id": "example-value",
              "loop": {
                "carry": {
                  "previousError": true,
                  "previousOutput": true,
                  "reviewerFeedback": true,
                  "validationFeedback": true,
                  "variables": [
                    "example-value"
                  ]
                },
                "delaySeconds": 1,
                "maximumIterations": 1,
                "onMaximum": {
                  "action": "example-value",
                  "target": "example-value"
                }
              },
              "source": "example-value",
              "target": "example-value",
              "type": "example-value"
            }
          ],
          "conversations": [
            {
              "calledElementRef": "example-value",
              "children": [
                {}
              ],
              "elementType": "example-value",
              "id": "example-value",
              "messageFlowRefs": [
                "example-value"
              ],
              "name": "example-value",
              "participantRefs": [
                "example-value"
              ]
            }
          ],
          "correlationKeys": [
            {
              "correlationPropertyRef": "example-value",
              "id": "example-value",
              "name": "example-value",
              "retrievalExpressions": [
                "example-value"
              ]
            }
          ],
          "id": "example-value",
          "messageFlows": [
            {
              "bpmn": {
                "assignments": [
                  "example-value"
                ],
                "associationDirection": "example-value",
                "conditionExpression": "example-value",
                "conditionLanguage": "example-value",
                "correlationKeyRefs": [
                  "example-value"
                ],
                "elementType": "example-value",
                "isImmediate": true,
                "messageRef": "example-value",
                "name": "example-value",
                "operationRef": "example-value",
                "transformation": "example-value",
                "waypoints": [
                  {
                    "x": 1.5,
                    "y": 1.5
                  }
                ]
              },
              "branch": "example-value",
              "condition": {
                "label": "example-value",
                "left": "example-value",
                "on": "example-value",
                "operator": "example-value",
                "value": "example-value"
              },
              "id": "example-value",
              "loop": {
                "carry": {
                  "previousError": true,
                  "previousOutput": true,
                  "reviewerFeedback": true,
                  "validationFeedback": true,
                  "variables": [
                    "example-value"
                  ]
                },
                "delaySeconds": 1,
                "maximumIterations": 1,
                "onMaximum": {
                  "action": "example-value",
                  "target": "example-value"
                }
              },
              "source": "example-value",
              "target": "example-value",
              "type": "example-value"
            }
          ],
          "name": "example-value",
          "participants": [
            {
              "id": "example-value",
              "multiplicityMaximum": 1,
              "multiplicityMinimum": 1,
              "name": "example-value",
              "partnerEntityRef": "example-value",
              "partnerRoleRef": "example-value",
              "processRef": "example-value"
            }
          ]
        }
      ],
      "conformanceProfile": "example-value",
      "conversations": [
        {
          "calledElementRef": "example-value",
          "children": [
            {}
          ],
          "elementType": "example-value",
          "id": "example-value",
          "messageFlowRefs": [
            "example-value"
          ],
          "name": "example-value",
          "participantRefs": [
            "example-value"
          ]
        }
      ],
      "dataStores": [
        {
          "capacity": 1,
          "collection": true,
          "dataState": "example-value",
          "elementType": "example-value",
          "id": "example-value",
          "itemSubjectRef": "example-value",
          "name": "example-value",
          "originalRef": "example-value",
          "unlimited": true
        }
      ],
      "diagrams": [
        {
          "edges": [
            {
              "elementRef": "example-value",
              "id": "example-value",
              "label": {
                "bounds": {
                  "height": 1.5,
                  "width": 1.5,
                  "x": 1.5,
                  "y": 1.5
                },
                "id": "example-value"
              },
              "messageVisibleKind": "example-value",
              "sourceElement": "example-value",
              "targetElement": "example-value",
              "waypoints": [
                {
                  "x": 1.5,
                  "y": 1.5
                }
              ]
            }
          ],
          "elementRef": "example-value",
          "id": "example-value",
          "labels": [
            {
              "bounds": {
                "height": 1.5,
                "width": 1.5,
                "x": 1.5,
                "y": 1.5
              },
              "id": "example-value"
            }
          ],
          "name": "example-value",
          "orientation": "example-value",
          "planeId": "example-value",
          "shapes": [
            {
              "bounds": {
                "height": 1.5,
                "width": 1.5,
                "x": 1.5,
                "y": 1.5
              },
              "choreographyActivityShape": "example-value",
              "elementRef": "example-value",
              "expanded": true,
              "horizontal": true,
              "id": "example-value",
              "label": {
                "bounds": {
                  "height": 1.5,
                  "width": 1.5,
                  "x": 1.5,
                  "y": 1.5
                },
                "id": "example-value"
              },
              "markerVisible": true,
              "participantBandKind": "example-value"
            }
          ]
        }
      ],
      "errors": [
        {
          "code": "example-value",
          "id": "example-value",
          "name": "example-value",
          "structureRef": "example-value"
        }
      ],
      "escalations": [
        {
          "code": "example-value",
          "id": "example-value",
          "name": "example-value",
          "structureRef": "example-value"
        }
      ],
      "exporter": "example-value",
      "exporterVersion": "example-value",
      "expressionLanguage": "example-value",
      "extensionElementsXml": [
        "example-value"
      ],
      "id": "example-value",
      "imports": [
        {
          "importType": "example-value",
          "location": "example-value",
          "namespace": "example-value"
        }
      ],
      "interfaces": [
        {
          "id": "example-value",
          "implementationRef": "example-value",
          "name": "example-value",
          "operations": [
            {
              "errorRefs": [
                "example-value"
              ],
              "id": "example-value",
              "implementationRef": "example-value",
              "inputMessageRef": "example-value",
              "name": "example-value",
              "outputMessageRef": "example-value"
            }
          ]
        }
      ],
      "itemDefinitions": [
        {
          "id": "example-value",
          "isCollection": true,
          "itemKind": "example-value",
          "structureRef": "example-value"
        }
      ],
      "messages": [
        {
          "code": "example-value",
          "id": "example-value",
          "name": "example-value",
          "structureRef": "example-value"
        }
      ],
      "name": "example-value",
      "namespaces": {},
      "primaryProcessId": "example-value",
      "processes": [
        {
          "artifacts": [
            {
              "associationDirection": "example-value",
              "categoryValueRef": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "name": "example-value",
              "position": {
                "x": 1.5,
                "y": 1.5
              },
              "sourceRef": "example-value",
              "targetRef": "example-value",
              "text": "example-value"
            }
          ],
          "auditingXml": "example-value",
          "closed": true,
          "correlations": [
            {
              "correlationPropertyRef": "example-value",
              "id": "example-value",
              "name": "example-value",
              "retrievalExpressions": [
                "example-value"
              ]
            }
          ],
          "dataInputs": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "dataObjects": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "dataOutputs": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "dataStores": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "documentation": [
            "example-value"
          ],
          "edges": [
            {
              "bpmn": {
                "assignments": [
                  "example-value"
                ],
                "associationDirection": "example-value",
                "conditionExpression": "example-value",
                "conditionLanguage": "example-value",
                "correlationKeyRefs": [
                  "example-value"
                ],
                "elementType": "example-value",
                "isImmediate": true,
                "messageRef": "example-value",
                "name": "example-value",
                "operationRef": "example-value",
                "transformation": "example-value",
                "waypoints": [
                  {
                    "x": 1.5,
                    "y": 1.5
                  }
                ]
              },
              "branch": "example-value",
              "condition": {
                "label": "example-value",
                "left": "example-value",
                "on": "example-value",
                "operator": "example-value",
                "value": "example-value"
              },
              "id": "example-value",
              "loop": {
                "carry": {
                  "previousError": true,
                  "previousOutput": true,
                  "reviewerFeedback": true,
                  "validationFeedback": true,
                  "variables": [
                    "example-value"
                  ]
                },
                "delaySeconds": 1,
                "maximumIterations": 1,
                "onMaximum": {
                  "action": "example-value",
                  "target": "example-value"
                }
              },
              "source": "example-value",
              "target": "example-value",
              "type": "example-value"
            }
          ],
          "executable": true,
          "extensionXml": [
            "example-value"
          ],
          "id": "example-value",
          "inputSets": [
            {
              "dataInputRefs": [
                "example-value"
              ],
              "id": "example-value",
              "name": "example-value",
              "optionalInputRefs": [
                "example-value"
              ],
              "outputSetRefs": [
                "example-value"
              ],
              "whileExecutingInputRefs": [
                "example-value"
              ]
            }
          ],
          "ioSpecificationId": "example-value",
          "laneSets": [
            {
              "id": "example-value",
              "lanes": [
                {
                  "childLaneSet": {},
                  "flowNodeRefs": [
                    "example-value"
                  ],
                  "id": "example-value",
                  "name": "example-value",
                  "partitionElementRef": "example-value",
                  "resources": [
                    {
                      "assignmentExpression": "example-value",
                      "id": "example-value",
                      "resourceRef": "example-value",
                      "role": "example-value"
                    }
                  ]
                }
              ],
              "name": "example-value"
            }
          ],
          "layout": {
            "arrangementVersion": 1,
            "collapsedGroups": {},
            "nodes": {},
            "notes": [
              {
                "collapsed": true,
                "id": "example-value",
                "text": "example-value",
                "x": 1.5,
                "y": 1.5
              }
            ]
          },
          "monitoringXml": "example-value",
          "name": "example-value",
          "nodes": [
            {
              "bpmn": {
                "activationCondition": "example-value",
                "activity": {
                  "cancelRemainingInstances": true,
                  "completionCondition": "example-value",
                  "completionQuantity": 1,
                  "defaultFlow": "example-value",
                  "forCompensation": true,
                  "loop": {
                    "behavior": "example-value",
                    "collection": "example-value",
                    "completionCondition": "example-value",
                    "complexBehaviorDefinitions": [
                      {
                        "condition": "example-value",
                        "eventDefinitions": [
                          {
                            "activityRef": "example-value",
                            "expression": "example-value",
                            "id": "example-value",
                            "language": "example-value",
                            "operationRef": "example-value",
                            "reference": "example-value",
                            "sources": [
                              "example-value"
                            ],
                            "target": "example-value",
                            "timeCycle": "example-value",
                            "timeDate": "example-value",
                            "timeDuration": "example-value",
                            "type": "example-value",
                            "waitForCompletion": true,
                            "waitForCompletionSpecified": true
                          }
                        ],
                        "id": "example-value"
                      }
                    ],
                    "elementVariable": "example-value",
                    "id": "example-value",
                    "kind": "example-value",
                    "loopCondition": "example-value",
                    "loopMaximum": 1,
                    "noneBehaviorEventRef": "example-value",
                    "oneBehaviorEventRef": "example-value",
                    "sequential": true,
                    "testBefore": true
                  },
                  "method": "example-value",
                  "ordering": "example-value",
                  "protocol": "example-value",
                  "renderings": [
                    "example-value"
                  ],
                  "script": "example-value",
                  "scriptFormat": "example-value",
                  "startQuantity": 1
                },
                "attachedToRef": "example-value",
                "calledElement": "example-value",
                "cancelActivity": true,
                "dataAssociations": [
                  {
                    "assignmentExpressions": [
                      {
                        "from": "example-value",
                        "fromLanguage": "example-value",
                        "id": "example-value",
                        "to": "example-value",
                        "toLanguage": "example-value"
                      }
                    ],
                    "assignments": [
                      "example-value"
                    ],
                    "elementType": "example-value",
                    "id": "example-value",
                    "sources": [
                      "example-value"
                    ],
                    "target": "example-value",
                    "transformation": "example-value"
                  }
                ],
                "dataInputs": [
                  {
                    "capacity": 1,
                    "collection": true,
                    "dataState": "example-value",
                    "elementType": "example-value",
                    "id": "example-value",
                    "itemSubjectRef": "example-value",
                    "name": "example-value",
                    "originalRef": "example-value",
                    "unlimited": true
                  }
                ],
                "dataOutputs": [
                  {
                    "capacity": 1,
                    "collection": true,
                    "dataState": "example-value",
                    "elementType": "example-value",
                    "id": "example-value",
                    "itemSubjectRef": "example-value",
                    "name": "example-value",
                    "originalRef": "example-value",
                    "unlimited": true
                  }
                ],
                "defaultFlow": "example-value",
                "documentation": [
                  "example-value"
                ],
                "elementType": "example-value",
                "eventDefinitions": [
                  {
                    "activityRef": "example-value",
                    "expression": "example-value",
                    "id": "example-value",
                    "language": "example-value",
                    "operationRef": "example-value",
                    "reference": "example-value",
                    "sources": [
                      "example-value"
                    ],
                    "target": "example-value",
                    "timeCycle": "example-value",
                    "timeDate": "example-value",
                    "timeDuration": "example-value",
                    "type": "example-value",
                    "waitForCompletion": true,
                    "waitForCompletionSpecified": true
                  }
                ],
                "eventGatewayType": "example-value",
                "extensionXml": [
                  "example-value"
                ],
                "gatewayDirection": "example-value",
                "id": "example-value",
                "implementation": "example-value",
                "inputSets": [
                  {
                    "dataInputRefs": [
                      "example-value"
                    ],
                    "id": "example-value",
                    "name": "example-value",
                    "optionalInputRefs": [
                      "example-value"
                    ],
                    "outputSetRefs": [
                      "example-value"
                    ],
                    "whileExecutingInputRefs": [
                      "example-value"
                    ]
                  }
                ],
                "instantiate": true,
                "ioSpecificationId": "example-value",
                "isInterrupting": true,
                "isTransaction": true,
                "messageRef": "example-value",
                "operationRef": "example-value",
                "outputSets": [
                  {
                    "dataOutputRefs": [
                      "example-value"
                    ],
                    "id": "example-value",
                    "inputSetRefs": [
                      "example-value"
                    ],
                    "name": "example-value",
                    "optionalOutputRefs": [
                      "example-value"
                    ],
                    "whileExecutingOutputRefs": [
                      "example-value"
                    ]
                  }
                ],
                "parallelMultiple": true,
                "properties": [
                  {
                    "dataState": "example-value",
                    "id": "example-value",
                    "itemSubjectRef": "example-value",
                    "name": "example-value"
                  }
                ],
                "resources": [
                  {
                    "assignmentExpression": "example-value",
                    "id": "example-value",
                    "resourceRef": "example-value",
                    "role": "example-value"
                  }
                ],
                "subProcess": {},
                "transactionMethod": "example-value",
                "triggeredByEvent": true
              },
              "configuration": {},
              "displayName": "example-value",
              "id": "example-value",
              "type": "example-value"
            }
          ],
          "outputSets": [
            {
              "dataOutputRefs": [
                "example-value"
              ],
              "id": "example-value",
              "inputSetRefs": [
                "example-value"
              ],
              "name": "example-value",
              "optionalOutputRefs": [
                "example-value"
              ],
              "whileExecutingOutputRefs": [
                "example-value"
              ]
            }
          ],
          "processType": "example-value",
          "properties": [
            {
              "dataState": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value"
            }
          ],
          "resources": [
            {
              "assignmentExpression": "example-value",
              "id": "example-value",
              "resourceRef": "example-value",
              "role": "example-value"
            }
          ],
          "supports": [
            "example-value"
          ]
        }
      ],
      "relationships": [
        {
          "direction": "example-value",
          "id": "example-value",
          "sources": [
            "example-value"
          ],
          "targets": [
            "example-value"
          ],
          "type": "example-value"
        }
      ],
      "resources": [
        {
          "id": "example-value",
          "name": "example-value",
          "parameters": [
            {
              "id": "example-value",
              "name": "example-value",
              "required": true,
              "type": "example-value"
            }
          ]
        }
      ],
      "signals": [
        {
          "code": "example-value",
          "id": "example-value",
          "name": "example-value",
          "structureRef": "example-value"
        }
      ],
      "targetNamespace": "example-value",
      "typeLanguage": "example-value"
    },
    "dmn": {
      "elements": [
        {
          "bounds": {
            "height": 1.5,
            "width": 1.5,
            "x": 1.5,
            "y": 1.5
          },
          "id": "example-value",
          "name": "example-value",
          "nodeId": "example-value",
          "type": "example-value",
          "typeRef": "example-value",
          "variableName": "example-value"
        }
      ],
      "fileName": "example-value",
      "importedDocuments": [
        {
          "fileName": "example-value",
          "namespace": "example-value",
          "sourceSha256": "example-value",
          "sourceXml": "example-value"
        }
      ],
      "namespace": "example-value",
      "requirements": [
        {
          "id": "example-value",
          "sourceRef": "example-value",
          "targetRef": "example-value",
          "type": "example-value",
          "waypoints": [
            {
              "x": 1.5,
              "y": 1.5
            }
          ]
        }
      ],
      "sourceSha256": "example-value",
      "sourceXml": "example-value",
      "version": "example-value"
    },
    "edges": [
      {
        "bpmn": {
          "assignments": [
            "example-value"
          ],
          "associationDirection": "example-value",
          "conditionExpression": "example-value",
          "conditionLanguage": "example-value",
          "correlationKeyRefs": [
            "example-value"
          ],
          "elementType": "example-value",
          "isImmediate": true,
          "messageRef": "example-value",
          "name": "example-value",
          "operationRef": "example-value",
          "transformation": "example-value",
          "waypoints": [
            {
              "x": 1.5,
              "y": 1.5
            }
          ]
        },
        "branch": "example-value",
        "condition": {
          "label": "example-value",
          "left": "example-value",
          "on": "example-value",
          "operator": "example-value",
          "value": "example-value"
        },
        "id": "example-value",
        "loop": {
          "carry": {
            "previousError": true,
            "previousOutput": true,
            "reviewerFeedback": true,
            "validationFeedback": true,
            "variables": [
              "example-value"
            ]
          },
          "delaySeconds": 1,
          "maximumIterations": 1,
          "onMaximum": {
            "action": "example-value",
            "target": "example-value"
          }
        },
        "source": "example-value",
        "target": "example-value",
        "type": "example-value"
      }
    ],
    "imports": [
      {
        "executable": true,
        "format": "example-value",
        "items": [
          {
            "configuration": {},
            "elementId": "example-value",
            "elementType": "example-value",
            "message": "example-value",
            "name": "example-value",
            "outcome": "example-value",
            "sourceId": "example-value",
            "sourceKind": "example-value"
          }
        ],
        "sourceFileName": "example-value",
        "sourceSha256": "example-value",
        "version": "example-value"
      }
    ],
    "layout": {
      "arrangementVersion": 1,
      "collapsedGroups": {},
      "nodes": {},
      "notes": [
        {
          "collapsed": true,
          "id": "example-value",
          "text": "example-value",
          "x": 1.5,
          "y": 1.5
        }
      ]
    },
    "nodes": [
      {
        "bpmn": {
          "activationCondition": "example-value",
          "activity": {
            "cancelRemainingInstances": true,
            "completionCondition": "example-value",
            "completionQuantity": 1,
            "defaultFlow": "example-value",
            "forCompensation": true,
            "loop": {
              "behavior": "example-value",
              "collection": "example-value",
              "completionCondition": "example-value",
              "complexBehaviorDefinitions": [
                {
                  "condition": "example-value",
                  "eventDefinitions": [
                    {
                      "activityRef": "example-value",
                      "expression": "example-value",
                      "id": "example-value",
                      "language": "example-value",
                      "operationRef": "example-value",
                      "reference": "example-value",
                      "sources": [
                        "example-value"
                      ],
                      "target": "example-value",
                      "timeCycle": "example-value",
                      "timeDate": "example-value",
                      "timeDuration": "example-value",
                      "type": "example-value",
                      "waitForCompletion": true,
                      "waitForCompletionSpecified": true
                    }
                  ],
                  "id": "example-value"
                }
              ],
              "elementVariable": "example-value",
              "id": "example-value",
              "kind": "example-value",
              "loopCondition": "example-value",
              "loopMaximum": 1,
              "noneBehaviorEventRef": "example-value",
              "oneBehaviorEventRef": "example-value",
              "sequential": true,
              "testBefore": true
            },
            "method": "example-value",
            "ordering": "example-value",
            "protocol": "example-value",
            "renderings": [
              "example-value"
            ],
            "script": "example-value",
            "scriptFormat": "example-value",
            "startQuantity": 1
          },
          "attachedToRef": "example-value",
          "calledElement": "example-value",
          "cancelActivity": true,
          "dataAssociations": [
            {
              "assignmentExpressions": [
                {
                  "from": "example-value",
                  "fromLanguage": "example-value",
                  "id": "example-value",
                  "to": "example-value",
                  "toLanguage": "example-value"
                }
              ],
              "assignments": [
                "example-value"
              ],
              "elementType": "example-value",
              "id": "example-value",
              "sources": [
                "example-value"
              ],
              "target": "example-value",
              "transformation": "example-value"
            }
          ],
          "dataInputs": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "dataOutputs": [
            {
              "capacity": 1,
              "collection": true,
              "dataState": "example-value",
              "elementType": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value",
              "originalRef": "example-value",
              "unlimited": true
            }
          ],
          "defaultFlow": "example-value",
          "documentation": [
            "example-value"
          ],
          "elementType": "example-value",
          "eventDefinitions": [
            {
              "activityRef": "example-value",
              "expression": "example-value",
              "id": "example-value",
              "language": "example-value",
              "operationRef": "example-value",
              "reference": "example-value",
              "sources": [
                "example-value"
              ],
              "target": "example-value",
              "timeCycle": "example-value",
              "timeDate": "example-value",
              "timeDuration": "example-value",
              "type": "example-value",
              "waitForCompletion": true,
              "waitForCompletionSpecified": true
            }
          ],
          "eventGatewayType": "example-value",
          "extensionXml": [
            "example-value"
          ],
          "gatewayDirection": "example-value",
          "id": "example-value",
          "implementation": "example-value",
          "inputSets": [
            {
              "dataInputRefs": [
                "example-value"
              ],
              "id": "example-value",
              "name": "example-value",
              "optionalInputRefs": [
                "example-value"
              ],
              "outputSetRefs": [
                "example-value"
              ],
              "whileExecutingInputRefs": [
                "example-value"
              ]
            }
          ],
          "instantiate": true,
          "ioSpecificationId": "example-value",
          "isInterrupting": true,
          "isTransaction": true,
          "messageRef": "example-value",
          "operationRef": "example-value",
          "outputSets": [
            {
              "dataOutputRefs": [
                "example-value"
              ],
              "id": "example-value",
              "inputSetRefs": [
                "example-value"
              ],
              "name": "example-value",
              "optionalOutputRefs": [
                "example-value"
              ],
              "whileExecutingOutputRefs": [
                "example-value"
              ]
            }
          ],
          "parallelMultiple": true,
          "properties": [
            {
              "dataState": "example-value",
              "id": "example-value",
              "itemSubjectRef": "example-value",
              "name": "example-value"
            }
          ],
          "resources": [
            {
              "assignmentExpression": "example-value",
              "id": "example-value",
              "resourceRef": "example-value",
              "role": "example-value"
            }
          ],
          "subProcess": {
            "artifacts": [
              {
                "associationDirection": "example-value",
                "categoryValueRef": "example-value",
                "elementType": "example-value",
                "id": "example-value",
                "name": "example-value",
                "position": {
                  "x": 1.5,
                  "y": 1.5
                },
                "sourceRef": "example-value",
                "targetRef": "example-value",
                "text": "example-value"
              }
            ],
            "auditingXml": "example-value",
            "closed": true,
            "correlations": [
              {
                "correlationPropertyRef": "example-value",
                "id": "example-value",
                "name": "example-value",
                "retrievalExpressions": [
                  "example-value"
                ]
              }
            ],
            "dataInputs": [
              {
                "capacity": 1,
                "collection": true,
                "dataState": "example-value",
                "elementType": "example-value",
                "id": "example-value",
                "itemSubjectRef": "example-value",
                "name": "example-value",
                "originalRef": "example-value",
                "unlimited": true
              }
            ],
            "dataObjects": [
              {
                "capacity": 1,
                "collection": true,
                "dataState": "example-value",
                "elementType": "example-value",
                "id": "example-value",
                "itemSubjectRef": "example-value",
                "name": "example-value",
                "originalRef": "example-value",
                "unlimited": true
              }
            ],
            "dataOutputs": [
              {
                "capacity": 1,
                "collection": true,
                "dataState": "example-value",
                "elementType": "example-value",
                "id": "example-value",
                "itemSubjectRef": "example-value",
                "name": "example-value",
                "originalRef": "example-value",
                "unlimited": true
              }
            ],
            "dataStores": [
              {
                "capacity": 1,
                "collection": true,
                "dataState": "example-value",
                "elementType": "example-value",
                "id": "example-value",
                "itemSubjectRef": "example-value",
                "name": "example-value",
                "originalRef": "example-value",
                "unlimited": true
              }
            ],
            "documentation": [
              "example-value"
            ],
            "edges": [
              {
                "bpmn": {
                  "assignments": [
                    "example-value"
                  ],
                  "associationDirection": "example-value",
                  "conditionExpression": "example-value",
                  "conditionLanguage": "example-value",
                  "correlationKeyRefs": [
                    "example-value"
                  ],
                  "elementType": "example-value",
                  "isImmediate": true,
                  "messageRef": "example-value",
                  "name": "example-value",
                  "operationRef": "example-value",
                  "transformation": "example-value",
                  "waypoints": [
                    {
                      "x": 1.5,
                      "y": 1.5
                    }
                  ]
                },
                "branch": "example-value",
                "condition": {
                  "label": "example-value",
                  "left": "example-value",
                  "on": "example-value",
                  "operator": "example-value",
                  "value": "example-value"
                },
                "id": "example-value",
                "loop": {
                  "carry": {
                    "previousError": true,
                    "previousOutput": true,
                    "reviewerFeedback": true,
                    "validationFeedback": true,
                    "variables": [
                      "example-value"
                    ]
                  },
                  "delaySeconds": 1,
                  "maximumIterations": 1,
                  "onMaximum": {
                    "action": "example-value",
                    "target": "example-value"
                  }
                },
                "source": "example-value",
                "target": "example-value",
                "type": "example-value"
              }
            ],
            "executable": true,
            "extensionXml": [
              "example-value"
            ],
            "id": "example-value",
            "inputSets": [
              {
                "dataInputRefs": [
                  "example-value"
                ],
                "id": "example-value",
                "name": "example-value",
                "optionalInputRefs": [
                  "example-value"
                ],
                "outputSetRefs": [
                  "example-value"
                ],
                "whileExecutingInputRefs": [
                  "example-value"
                ]
              }
            ],
            "ioSpecificationId": "example-value",
            "laneSets": [
              {
                "id": "example-value",
                "lanes": [
                  {
                    "childLaneSet": {},
                    "flowNodeRefs": [
                      "example-value"
                    ],
                    "id": "example-value",
                    "name": "example-value",
                    "partitionElementRef": "example-value",
                    "resources": [
                      {
                        "assignmentExpression": "example-value",
                        "id": "example-value",
                        "resourceRef": "example-value",
                        "role": "example-value"
                      }
                    ]
                  }
                ],
                "name": "example-value"
              }
            ],
            "layout": {
              "arrangementVersion": 1,
              "collapsedGroups": {},
              "nodes": {},
              "notes": [
                {
                  "collapsed": true,
                  "id": "example-value",
                  "text": "example-value",
                  "x": 1.5,
                  "y": 1.5
                }
              ]
            },
            "monitoringXml": "example-value",
            "name": "example-value",
            "nodes": [
              {}
            ],
            "outputSets": [
              {
                "dataOutputRefs": [
                  "example-value"
                ],
                "id": "example-value",
                "inputSetRefs": [
                  "example-value"
                ],
                "name": "example-value",
                "optionalOutputRefs": [
                  "example-value"
                ],
                "whileExecutingOutputRefs": [
                  "example-value"
                ]
              }
            ],
            "processType": "example-value",
            "properties": [
              {
                "dataState": "example-value",
                "id": "example-value",
                "itemSubjectRef": "example-value",
                "name": "example-value"
              }
            ],
            "resources": [
              {
                "assignmentExpression": "example-value",
                "id": "example-value",
                "resourceRef": "example-value",
                "role": "example-value"
              }
            ],
            "supports": [
              "example-value"
            ]
          },
          "transactionMethod": "example-value",
          "triggeredByEvent": true
        },
        "configuration": {},
        "displayName": "example-value",
        "id": "example-value",
        "type": "example-value"
      }
    ],
    "protection": {
      "customChecks": [
        "example-value"
      ],
      "preset": "example-value"
    },
    "schemaVersion": 1
  },
  "description": "example-value",
  "displayName": "example-value",
  "folderId": "example-value",
  "slug": "example-value"
}
Smallest schema valid request
{
  "description": "example-value",
  "displayName": "example-value",
  "slug": "example-value"
}

Responses

StatusMeaning and correction boundaryBody
201The resource was created and the response contains its current representation.application/json, object
400The operation failed with HTTP 400. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
401The operation failed with HTTP 401. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
402The operation failed with HTTP 402. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
403The operation failed with HTTP 403. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
409The operation failed with HTTP 409. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
423The operation failed with HTTP 423. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
500The operation failed with HTTP 500. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
503The operation failed with HTTP 503. Inspect error.code and error.details, apply the documented correction, and retain x request id.application/json, APIError
201 response fields1 documented field

201 response fields

FieldPresenceTypeMeaningEmpty and defaultLimits and exampleAccess, sensitivity and lifecycle
datarequiredJSON valueA JSON compatible value returned by this operation.The field is present. Empty strings or collections are valid only when the field constraints and operation rules allow them. Default: No client default is assumed unless a JSON Schema default is present.Example: example valueInherits the operation access rules. Inherits the operation availability unless an operation specific rule says otherwise. No special sensitivity is marked. No special handling is inferred beyond normal tenant access, audit, retention, and data classification controls. Lifecycle: Next Product release.
Successful response using synthetic data
{
  "data": "example-value"
}

Effects

Behaviour and other effects

Changes
Validates access and input, then applies the operation specific state change. A failed validation or authorisation check does not intentionally apply the requested change.
Audit events
workflow.created
Background work
No background work is inferred. The success response represents completion of the HTTP action.
External effects
No external call is inferred from the route name. Operation specific service behaviour remains authoritative.
Transaction boundary
The HTTP success or error describes the synchronous boundary. Background operations have their own observable lifecycle and may outlive the request.

Operation

Reliability

Idempotent
No
Retry
Do not retry automatically after a timeout or lost response. Read current state first.
Concurrency
Use documented If Match or resource revision fields where exposed. Otherwise read current state before changing it and handle HTTP 409 conflicts.
Consistency
The response reflects the synchronous operation boundary. Background and provider backed state can converge later and must be read through its status operation.
Timeout
Client timeouts do not cancel completed or already started server work unless the operation explicitly supports cancellation.
Request ID
Send or record x request id and retain the returned value for diagnosis.

Errors and corrections

StatusCodeCauseCorrectionRetryablePartial work
400INVALID_REQUEST_BODYThe request body or supplied field values are invalid.Correct the named field or rule in error.details, then submit a new request. Retrying an unchanged request will not help.No unchanged retryNo requested mutation is expected before this failure boundary.
401AUTHENTICATION_REQUIREDA valid authenticated session or supported token is required.Authenticate again using a supported mechanism and confirm that the credential is current.No unchanged retryNo requested mutation is expected before this failure boundary.
402FEATURE_NOT_LICENSEDThe active licence does not include a required entitlement.Use an operation covered by the active entitlement or ask the System Owner to review the signed licence.No unchanged retryNo requested mutation is expected before this failure boundary.
403PERMISSION_REQUIREDThe authenticated actor does not have the exact permission or resource action.Select the correct tenant and resource, then ask an authorised administrator to grant the exact documented action if appropriate.No unchanged retryNo requested mutation is expected before this failure boundary.
409STATE_CONFLICTCurrent resource state or a dependency prevents the requested change.Read current state, resolve the named dependency or lifecycle conflict, and submit a deliberate new request.No unchanged retryThe caller must read current resource or background operation state before retrying because work may have started before the failure became observable.
423LICENCE_REMEDIATION_REQUIREDThe installation is restricted and permits only licence remediation actions.Complete the indicated licence or membership remediation before retrying Product work.No unchanged retryThe caller must read current resource or background operation state before retrying because work may have started before the failure became observable.
500INTERNAL_ERRORPūnaha could not complete the operation because of an unexpected internal failure.Retain x request id and the stable error code, avoid blind retries, and investigate the operation or contact support. Code: INTERNAL_ERROR.No unchanged retryThe caller must read current resource or background operation state before retrying because work may have started before the failure became observable.
503DEPENDENCY_UNAVAILABLEA required node, database, provider, or service is temporarily unavailable.Retain x request id, check health and the named dependency, then retry with bounded backoff when safe.Yes, with the documented safeguardsThe caller must read current resource or background operation state before retrying because work may have started before the failure became observable.

Code examples

Use a supported credential and synthetic data. Do not disable TLS checks or retry a request that changes state blindly.

cURL example
curl --request POST "$PUNAHA_URL/api/workflows" \
  --header "Authorization: Bearer $PUNAHA_TOKEN" \
  --header "x-request-id: example-request-001" \
  --header "Content-Type: application/json" \
  --data '{"definition":{"bpmn":{"categories":[{"id":"example-value","name":"example-value","values":[{"id":"example-value","value":"example-value"}]}],"choreographies":[{"activities":[{"calledElementRef":"example-value","children":[{}],"elementType":"example-value","id":"example-value","initiatingParticipantRef":"example-value","loop":{"behavior":"example-value","collection":"example-value","completionCondition":"example-value","complexBehaviorDefinitions":[{"condition":"example-value","eventDefinitions":[{"activityRef":"example-value","expression":"example-value","id":"example-value","language":"example-value","operationRef":"example-value","reference":"example-value","sources":["example-value"],"target":"example-value","timeCycle":"example-value","timeDate":"example-value","timeDuration":"example-value","type":"example-value","waitForCompletion":true,"waitForCompletionSpecified":true}],"id":"example-value"}],"elementVariable":"example-value","id":"example-value","kind":"example-value","loopCondition":"example-value","loopMaximum":1,"noneBehaviorEventRef":"example-value","oneBehaviorEventRef":"example-value","sequential":true,"testBefore":true},"messageFlowRefs":["example-value"],"name":"example-value","participantRefs":["example-value"]}],"artifacts":[{"associationDirection":"example-value","categoryValueRef":"example-value","elementType":"example-value","id":"example-value","name":"example-value","position":{"x":1.5,"y":1.5},"sourceRef":"example-value","targetRef":"example-value","text":"example-value"}],"edges":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"id":"example-value","initiatingParticipantRef":"example-value","name":"example-value","participants":[{"id":"example-value","multiplicityMaximum":1,"multiplicityMinimum":1,"name":"example-value","partnerEntityRef":"example-value","partnerRoleRef":"example-value","processRef":"example-value"}]}],"collaborations":[{"artifacts":[{"associationDirection":"example-value","categoryValueRef":"example-value","elementType":"example-value","id":"example-value","name":"example-value","position":{"x":1.5,"y":1.5},"sourceRef":"example-value","targetRef":"example-value","text":"example-value"}],"closed":true,"conversationLinks":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"conversations":[{"calledElementRef":"example-value","children":[{}],"elementType":"example-value","id":"example-value","messageFlowRefs":["example-value"],"name":"example-value","participantRefs":["example-value"]}],"correlationKeys":[{"correlationPropertyRef":"example-value","id":"example-value","name":"example-value","retrievalExpressions":["example-value"]}],"id":"example-value","messageFlows":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"name":"example-value","participants":[{"id":"example-value","multiplicityMaximum":1,"multiplicityMinimum":1,"name":"example-value","partnerEntityRef":"example-value","partnerRoleRef":"example-value","processRef":"example-value"}]}],"conformanceProfile":"example-value","conversations":[{"calledElementRef":"example-value","children":[{}],"elementType":"example-value","id":"example-value","messageFlowRefs":["example-value"],"name":"example-value","participantRefs":["example-value"]}],"dataStores":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"diagrams":[{"edges":[{"elementRef":"example-value","id":"example-value","label":{"bounds":{"height":1.5,"width":1.5,"x":1.5,"y":1.5},"id":"example-value"},"messageVisibleKind":"example-value","sourceElement":"example-value","targetElement":"example-value","waypoints":[{"x":1.5,"y":1.5}]}],"elementRef":"example-value","id":"example-value","labels":[{"bounds":{"height":1.5,"width":1.5,"x":1.5,"y":1.5},"id":"example-value"}],"name":"example-value","orientation":"example-value","planeId":"example-value","shapes":[{"bounds":{"height":1.5,"width":1.5,"x":1.5,"y":1.5},"choreographyActivityShape":"example-value","elementRef":"example-value","expanded":true,"horizontal":true,"id":"example-value","label":{"bounds":{"height":1.5,"width":1.5,"x":1.5,"y":1.5},"id":"example-value"},"markerVisible":true,"participantBandKind":"example-value"}]}],"errors":[{"code":"example-value","id":"example-value","name":"example-value","structureRef":"example-value"}],"escalations":[{"code":"example-value","id":"example-value","name":"example-value","structureRef":"example-value"}],"exporter":"example-value","exporterVersion":"example-value","expressionLanguage":"example-value","extensionElementsXml":["example-value"],"id":"example-value","imports":[{"importType":"example-value","location":"example-value","namespace":"example-value"}],"interfaces":[{"id":"example-value","implementationRef":"example-value","name":"example-value","operations":[{"errorRefs":["example-value"],"id":"example-value","implementationRef":"example-value","inputMessageRef":"example-value","name":"example-value","outputMessageRef":"example-value"}]}],"itemDefinitions":[{"id":"example-value","isCollection":true,"itemKind":"example-value","structureRef":"example-value"}],"messages":[{"code":"example-value","id":"example-value","name":"example-value","structureRef":"example-value"}],"name":"example-value","namespaces":{},"primaryProcessId":"example-value","processes":[{"artifacts":[{"associationDirection":"example-value","categoryValueRef":"example-value","elementType":"example-value","id":"example-value","name":"example-value","position":{"x":1.5,"y":1.5},"sourceRef":"example-value","targetRef":"example-value","text":"example-value"}],"auditingXml":"example-value","closed":true,"correlations":[{"correlationPropertyRef":"example-value","id":"example-value","name":"example-value","retrievalExpressions":["example-value"]}],"dataInputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataObjects":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataOutputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataStores":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"documentation":["example-value"],"edges":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"executable":true,"extensionXml":["example-value"],"id":"example-value","inputSets":[{"dataInputRefs":["example-value"],"id":"example-value","name":"example-value","optionalInputRefs":["example-value"],"outputSetRefs":["example-value"],"whileExecutingInputRefs":["example-value"]}],"ioSpecificationId":"example-value","laneSets":[{"id":"example-value","lanes":[{"childLaneSet":{},"flowNodeRefs":["example-value"],"id":"example-value","name":"example-value","partitionElementRef":"example-value","resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}]}],"name":"example-value"}],"layout":{"arrangementVersion":1,"collapsedGroups":{},"nodes":{},"notes":[{"collapsed":true,"id":"example-value","text":"example-value","x":1.5,"y":1.5}]},"monitoringXml":"example-value","name":"example-value","nodes":[{"bpmn":{"activationCondition":"example-value","activity":{"cancelRemainingInstances":true,"completionCondition":"example-value","completionQuantity":1,"defaultFlow":"example-value","forCompensation":true,"loop":{"behavior":"example-value","collection":"example-value","completionCondition":"example-value","complexBehaviorDefinitions":[{"condition":"example-value","eventDefinitions":[{"activityRef":"example-value","expression":"example-value","id":"example-value","language":"example-value","operationRef":"example-value","reference":"example-value","sources":["example-value"],"target":"example-value","timeCycle":"example-value","timeDate":"example-value","timeDuration":"example-value","type":"example-value","waitForCompletion":true,"waitForCompletionSpecified":true}],"id":"example-value"}],"elementVariable":"example-value","id":"example-value","kind":"example-value","loopCondition":"example-value","loopMaximum":1,"noneBehaviorEventRef":"example-value","oneBehaviorEventRef":"example-value","sequential":true,"testBefore":true},"method":"example-value","ordering":"example-value","protocol":"example-value","renderings":["example-value"],"script":"example-value","scriptFormat":"example-value","startQuantity":1},"attachedToRef":"example-value","calledElement":"example-value","cancelActivity":true,"dataAssociations":[{"assignmentExpressions":[{"from":"example-value","fromLanguage":"example-value","id":"example-value","to":"example-value","toLanguage":"example-value"}],"assignments":["example-value"],"elementType":"example-value","id":"example-value","sources":["example-value"],"target":"example-value","transformation":"example-value"}],"dataInputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataOutputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"defaultFlow":"example-value","documentation":["example-value"],"elementType":"example-value","eventDefinitions":[{"activityRef":"example-value","expression":"example-value","id":"example-value","language":"example-value","operationRef":"example-value","reference":"example-value","sources":["example-value"],"target":"example-value","timeCycle":"example-value","timeDate":"example-value","timeDuration":"example-value","type":"example-value","waitForCompletion":true,"waitForCompletionSpecified":true}],"eventGatewayType":"example-value","extensionXml":["example-value"],"gatewayDirection":"example-value","id":"example-value","implementation":"example-value","inputSets":[{"dataInputRefs":["example-value"],"id":"example-value","name":"example-value","optionalInputRefs":["example-value"],"outputSetRefs":["example-value"],"whileExecutingInputRefs":["example-value"]}],"instantiate":true,"ioSpecificationId":"example-value","isInterrupting":true,"isTransaction":true,"messageRef":"example-value","operationRef":"example-value","outputSets":[{"dataOutputRefs":["example-value"],"id":"example-value","inputSetRefs":["example-value"],"name":"example-value","optionalOutputRefs":["example-value"],"whileExecutingOutputRefs":["example-value"]}],"parallelMultiple":true,"properties":[{"dataState":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value"}],"resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}],"subProcess":{},"transactionMethod":"example-value","triggeredByEvent":true},"configuration":{},"displayName":"example-value","id":"example-value","type":"example-value"}],"outputSets":[{"dataOutputRefs":["example-value"],"id":"example-value","inputSetRefs":["example-value"],"name":"example-value","optionalOutputRefs":["example-value"],"whileExecutingOutputRefs":["example-value"]}],"processType":"example-value","properties":[{"dataState":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value"}],"resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}],"supports":["example-value"]}],"relationships":[{"direction":"example-value","id":"example-value","sources":["example-value"],"targets":["example-value"],"type":"example-value"}],"resources":[{"id":"example-value","name":"example-value","parameters":[{"id":"example-value","name":"example-value","required":true,"type":"example-value"}]}],"signals":[{"code":"example-value","id":"example-value","name":"example-value","structureRef":"example-value"}],"targetNamespace":"example-value","typeLanguage":"example-value"},"dmn":{"elements":[{"bounds":{"height":1.5,"width":1.5,"x":1.5,"y":1.5},"id":"example-value","name":"example-value","nodeId":"example-value","type":"example-value","typeRef":"example-value","variableName":"example-value"}],"fileName":"example-value","importedDocuments":[{"fileName":"example-value","namespace":"example-value","sourceSha256":"example-value","sourceXml":"example-value"}],"namespace":"example-value","requirements":[{"id":"example-value","sourceRef":"example-value","targetRef":"example-value","type":"example-value","waypoints":[{"x":1.5,"y":1.5}]}],"sourceSha256":"example-value","sourceXml":"example-value","version":"example-value"},"edges":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"imports":[{"executable":true,"format":"example-value","items":[{"configuration":{},"elementId":"example-value","elementType":"example-value","message":"example-value","name":"example-value","outcome":"example-value","sourceId":"example-value","sourceKind":"example-value"}],"sourceFileName":"example-value","sourceSha256":"example-value","version":"example-value"}],"layout":{"arrangementVersion":1,"collapsedGroups":{},"nodes":{},"notes":[{"collapsed":true,"id":"example-value","text":"example-value","x":1.5,"y":1.5}]},"nodes":[{"bpmn":{"activationCondition":"example-value","activity":{"cancelRemainingInstances":true,"completionCondition":"example-value","completionQuantity":1,"defaultFlow":"example-value","forCompensation":true,"loop":{"behavior":"example-value","collection":"example-value","completionCondition":"example-value","complexBehaviorDefinitions":[{"condition":"example-value","eventDefinitions":[{"activityRef":"example-value","expression":"example-value","id":"example-value","language":"example-value","operationRef":"example-value","reference":"example-value","sources":["example-value"],"target":"example-value","timeCycle":"example-value","timeDate":"example-value","timeDuration":"example-value","type":"example-value","waitForCompletion":true,"waitForCompletionSpecified":true}],"id":"example-value"}],"elementVariable":"example-value","id":"example-value","kind":"example-value","loopCondition":"example-value","loopMaximum":1,"noneBehaviorEventRef":"example-value","oneBehaviorEventRef":"example-value","sequential":true,"testBefore":true},"method":"example-value","ordering":"example-value","protocol":"example-value","renderings":["example-value"],"script":"example-value","scriptFormat":"example-value","startQuantity":1},"attachedToRef":"example-value","calledElement":"example-value","cancelActivity":true,"dataAssociations":[{"assignmentExpressions":[{"from":"example-value","fromLanguage":"example-value","id":"example-value","to":"example-value","toLanguage":"example-value"}],"assignments":["example-value"],"elementType":"example-value","id":"example-value","sources":["example-value"],"target":"example-value","transformation":"example-value"}],"dataInputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataOutputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"defaultFlow":"example-value","documentation":["example-value"],"elementType":"example-value","eventDefinitions":[{"activityRef":"example-value","expression":"example-value","id":"example-value","language":"example-value","operationRef":"example-value","reference":"example-value","sources":["example-value"],"target":"example-value","timeCycle":"example-value","timeDate":"example-value","timeDuration":"example-value","type":"example-value","waitForCompletion":true,"waitForCompletionSpecified":true}],"eventGatewayType":"example-value","extensionXml":["example-value"],"gatewayDirection":"example-value","id":"example-value","implementation":"example-value","inputSets":[{"dataInputRefs":["example-value"],"id":"example-value","name":"example-value","optionalInputRefs":["example-value"],"outputSetRefs":["example-value"],"whileExecutingInputRefs":["example-value"]}],"instantiate":true,"ioSpecificationId":"example-value","isInterrupting":true,"isTransaction":true,"messageRef":"example-value","operationRef":"example-value","outputSets":[{"dataOutputRefs":["example-value"],"id":"example-value","inputSetRefs":["example-value"],"name":"example-value","optionalOutputRefs":["example-value"],"whileExecutingOutputRefs":["example-value"]}],"parallelMultiple":true,"properties":[{"dataState":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value"}],"resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}],"subProcess":{"artifacts":[{"associationDirection":"example-value","categoryValueRef":"example-value","elementType":"example-value","id":"example-value","name":"example-value","position":{"x":1.5,"y":1.5},"sourceRef":"example-value","targetRef":"example-value","text":"example-value"}],"auditingXml":"example-value","closed":true,"correlations":[{"correlationPropertyRef":"example-value","id":"example-value","name":"example-value","retrievalExpressions":["example-value"]}],"dataInputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataObjects":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataOutputs":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"dataStores":[{"capacity":1,"collection":true,"dataState":"example-value","elementType":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value","originalRef":"example-value","unlimited":true}],"documentation":["example-value"],"edges":[{"bpmn":{"assignments":["example-value"],"associationDirection":"example-value","conditionExpression":"example-value","conditionLanguage":"example-value","correlationKeyRefs":["example-value"],"elementType":"example-value","isImmediate":true,"messageRef":"example-value","name":"example-value","operationRef":"example-value","transformation":"example-value","waypoints":[{"x":1.5,"y":1.5}]},"branch":"example-value","condition":{"label":"example-value","left":"example-value","on":"example-value","operator":"example-value","value":"example-value"},"id":"example-value","loop":{"carry":{"previousError":true,"previousOutput":true,"reviewerFeedback":true,"validationFeedback":true,"variables":["example-value"]},"delaySeconds":1,"maximumIterations":1,"onMaximum":{"action":"example-value","target":"example-value"}},"source":"example-value","target":"example-value","type":"example-value"}],"executable":true,"extensionXml":["example-value"],"id":"example-value","inputSets":[{"dataInputRefs":["example-value"],"id":"example-value","name":"example-value","optionalInputRefs":["example-value"],"outputSetRefs":["example-value"],"whileExecutingInputRefs":["example-value"]}],"ioSpecificationId":"example-value","laneSets":[{"id":"example-value","lanes":[{"childLaneSet":{},"flowNodeRefs":["example-value"],"id":"example-value","name":"example-value","partitionElementRef":"example-value","resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}]}],"name":"example-value"}],"layout":{"arrangementVersion":1,"collapsedGroups":{},"nodes":{},"notes":[{"collapsed":true,"id":"example-value","text":"example-value","x":1.5,"y":1.5}]},"monitoringXml":"example-value","name":"example-value","nodes":[{}],"outputSets":[{"dataOutputRefs":["example-value"],"id":"example-value","inputSetRefs":["example-value"],"name":"example-value","optionalOutputRefs":["example-value"],"whileExecutingOutputRefs":["example-value"]}],"processType":"example-value","properties":[{"dataState":"example-value","id":"example-value","itemSubjectRef":"example-value","name":"example-value"}],"resources":[{"assignmentExpression":"example-value","id":"example-value","resourceRef":"example-value","role":"example-value"}],"supports":["example-value"]},"transactionMethod":"example-value","triggeredByEvent":true},"configuration":{},"displayName":"example-value","id":"example-value","type":"example-value"}],"protection":{"customChecks":["example-value"],"preset":"example-value"},"schemaVersion":1},"description":"example-value","displayName":"example-value","folderId":"example-value","slug":"example-value"}'

Version history

  • Next Product release: Operation documented from the current registered Go route and handler contract.

Pūnaha Docs

Search the guides

Enter at least two characters.

    Product screen

    View the full screenshot