API
Draft workflows
Draft workflows. This replaces or sets the selected state using the full supplied value.
/api/workflows/{workflowId}/draftDraft workflows. This replaces or sets the selected state using the full supplied value.
Operation IDputapiWorkflowsWorkflowIdDraftOperation details
Purpose
Draft workflows. This replaces or sets the selected state using the full supplied value.
When to use it
Use this when the caller has read the current state and is authorised to change the documented fields or lifecycle state.
When not to use it
Do not use this to create an unrelated resource or bypass a purpose built transition, validation, or permission check operation.
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 / update / example workflowid
- 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
| Field | Location | Presence | Type | Meaning | Limits and example |
|---|---|---|---|---|---|
x-request-id | header | Optional | string | Optional caller supplied correlation identifier. Pūnaha returns the effective value in the response header. | Minimum length: 1. Maximum length: 200. Example: example request 001 |
workflowId | path | Required | string | The workflow id that identifies the resource selected by this operation. | Minimum length: 1. Example: example workflowid |
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 fields47 documented fields
Request fields
| Field | Presence | Type | Meaning | Empty and default | Limits and example | Access, sensitivity and lifecycle |
|---|---|---|---|---|---|---|
definition | required | WorkflowDefinitionRequest | The definition 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. | No additional schema limit is listed | Inherits 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. |
definition.bpmn | optional | WorkflowBPMNDefinitionRequest or null | The bpmn 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 listed | Inherits 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. |
definition.dmn | optional | WorkflowDMNDefinitionRequest or null | The dmn 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 listed | Inherits 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. |
definition.edges | required | list of WorkflowEdgeRequest | The edges 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 value | Inherits 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. |
definition.edges[].bpmn | optional | WorkflowBPMNFlowRequest or null | The bpmn 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 listed | Inherits 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. |
definition.edges[].branch | optional | string or null | The branch 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 value | Inherits 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. |
definition.edges[].condition | optional | WorkflowTransitionConditionRequest or null | The condition 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 listed | Inherits 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. |
definition.edges[].id | optional | string | The stable identifier of this resource. | 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 value | Inherits 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. |
definition.edges[].loop | optional | WorkflowLoopConfigurationRequest or null | The loop 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 listed | Inherits 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. |
definition.edges[].source | required | string | The source 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 value | Inherits 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. |
definition.edges[].target | required | string | The target 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 value | Inherits 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. |
definition.edges[].type | optional | string | The type 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 value | Inherits 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. |
definition.imports | optional | list of WorkflowStandardImportMetadataRequest | The imports 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 value | Inherits 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. |
definition.imports[].executable | required | boolean | The executable 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: Yes | Inherits 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. |
definition.imports[].format | required | string | The format 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 value | Inherits 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. |
definition.imports[].items | optional | list of WorkflowImportItemRequest | The records included in this collection. | 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 value | Inherits 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. |
definition.imports[].items[].configuration | optional | object | Keys are defined by the selected configuration, provider, or resource type. Values follow the documented field schema. | 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: {} | Inherits 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. |
definition.imports[].items[].elementId | optional | string | The element 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 value | Inherits 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. |
definition.imports[].items[].elementType | required | string | The element type 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 value | Inherits 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. |
definition.imports[].items[].message | required | string | A human readable explanation intended to help understand the result. | 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 value | Inherits 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. |
definition.imports[].items[].name | optional | string | The name 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 value | Inherits 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. |
definition.imports[].items[].outcome | required | string | The outcome 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 value | Inherits 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. |
definition.imports[].items[].sourceId | optional | string | The source 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 value | Inherits 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. |
definition.imports[].items[].sourceKind | optional | string | The source kind 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 value | Inherits 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. |
definition.imports[].sourceFileName | required | string | The source file 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 value | Inherits 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. |
definition.imports[].sourceSha256 | required | string | The source sha256 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 value | Inherits 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. |
definition.imports[].version | optional | string | The version 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 value | Inherits 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. |
definition.layout | optional | WorkflowLayoutRequest | The layout 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 listed | Inherits 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. |
definition.layout.arrangementVersion | optional | integer in int64 format | The arrangement version 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: 1 | Inherits 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. |
definition.layout.collapsedGroups | optional | object | Keys are defined by the selected configuration, provider, or resource type. Values follow the documented field schema. | 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: {} | Inherits 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. |
definition.layout.nodes | optional | object | Keys are defined by the selected configuration, provider, or resource type. Values follow the documented field schema. | 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: {} | Inherits 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. |
definition.layout.notes | optional | list of WorkflowLayoutNoteRequest | The notes 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 value | Inherits 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. |
definition.layout.notes[].collapsed | optional | boolean | The collapsed 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: Yes | Inherits 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. |
definition.layout.notes[].id | required | string | The stable identifier of this resource. | 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 value | Inherits 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. |
definition.layout.notes[].text | required | string | The text 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 value | Inherits 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. |
definition.layout.notes[].x | required | number in double format | The x 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: 1.5 | Inherits 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. |
definition.layout.notes[].y | required | number in double format | The y 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: 1.5 | Inherits 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. |
definition.nodes | required | list of WorkflowNodeRequest | The nodes 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 value | Inherits 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. |
definition.nodes[].bpmn | optional | WorkflowBPMNElementRequest or null | The bpmn 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 listed | Inherits 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. |
definition.nodes[].configuration | required | object | Keys are defined by the selected configuration, provider, or resource type. Values follow the documented field schema. | 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: {} | Inherits 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. |
definition.nodes[].displayName | required | string | The 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 value | Inherits 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. |
definition.nodes[].id | required | string | The stable identifier of this resource. | 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 value | Inherits 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. |
definition.nodes[].type | required | string | The type 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 value | Inherits 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. |
definition.protection | optional | WorkflowProtectionRequest | The protection 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 listed | Inherits 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. |
definition.protection.customChecks | required | list of string | The custom checks 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 value | Inherits 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. |
definition.protection.preset | required | string | The preset 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 value | Inherits 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. |
definition.schemaVersion | required | integer in int64 format | The schema version 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: 1 | Inherits 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
}
}Smallest schema valid request
{
"definition": {
"edges": [
{
"source": "example-value",
"target": "example-value"
}
],
"nodes": [
{
"configuration": {},
"displayName": "example-value",
"id": "example-value",
"type": "example-value"
}
],
"schemaVersion": 1
}
}Responses
| Status | Meaning and correction boundary | Body |
|---|---|---|
200 | The operation completed and the response contains the current operation specific representation. | application/json, object |
400 | The operation failed with HTTP 400. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
401 | The operation failed with HTTP 401. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
402 | The operation failed with HTTP 402. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
403 | The operation failed with HTTP 403. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
404 | The operation failed with HTTP 404. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
409 | The operation failed with HTTP 409. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
423 | The operation failed with HTTP 423. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
500 | The operation failed with HTTP 500. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
503 | The operation failed with HTTP 503. Inspect error.code and error.details, apply the documented correction, and retain x request id. | application/json, APIError |
200 response fields1 documented field
200 response fields
| Field | Presence | Type | Meaning | Empty and default | Limits and example | Access, sensitivity and lifecycle |
|---|---|---|---|---|---|---|
data | required | JSON value | A 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 value | Inherits 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
- The mutation is subject to the Product audit policy. The exact event name is operation owned and must be reviewed before publication.
- 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
- Yes
- Retry
- A retry is normally safe only with the same resource, body, tenant, and concurrency preconditions. Confirm the first outcome when external effects are possible.
- 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
| Status | Code | Cause | Correction | Retryable | Partial work |
|---|---|---|---|---|---|
400 | INVALID_REQUEST_BODY | The 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 retry | No requested mutation is expected before this failure boundary. |
401 | AUTHENTICATION_REQUIRED | A valid authenticated session or supported token is required. | Authenticate again using a supported mechanism and confirm that the credential is current. | No unchanged retry | No requested mutation is expected before this failure boundary. |
402 | FEATURE_NOT_LICENSED | The 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 retry | No requested mutation is expected before this failure boundary. |
403 | PERMISSION_REQUIRED | The 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 retry | No requested mutation is expected before this failure boundary. |
404 | NOT_FOUND | The selected resource does not exist in the authorised scope. | Obtain the identifier from the related list or create operation and confirm the selected tenant. | No unchanged retry | No requested mutation is expected before this failure boundary. |
409 | STATE_CONFLICT | Current 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 retry | The caller must read current resource or background operation state before retrying because work may have started before the failure became observable. |
423 | LICENCE_REMEDIATION_REQUIRED | The installation is restricted and permits only licence remediation actions. | Complete the indicated licence or membership remediation before retrying Product work. | No unchanged retry | The caller must read current resource or background operation state before retrying because work may have started before the failure became observable. |
500 | INTERNAL_ERROR | Pū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 retry | The caller must read current resource or background operation state before retrying because work may have started before the failure became observable. |
503 | DEPENDENCY_UNAVAILABLE | A 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 safeguards | The 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 --request PUT "$PUNAHA_URL/api/workflows/example-workflowid/draft" \
--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}}'const response = await fetch(`${PUNAHA_URL}/api/workflows/example-workflowid/draft`, {
method: "PUT",
headers: {
"x-request-id": "example-request-001",
"Authorization": "Bearer ${PUNAHA_TOKEN}",
"Content-Type": "application/json"
},
body: JSON.stringify({
"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
}
})
});
if (!response.ok) throw new Error(`Pūnaha request failed: ${response.status}`);
const result = response.status === 204 ? undefined : await response.json();using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient { BaseAddress = new Uri(punahaUrl) };
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", punahaToken);
using var request = new HttpRequestMessage(HttpMethod.Put, "/api/workflows/example-workflowid/draft");
request.Headers.Add("x-request-id", "example-request-001");
var json = "{\"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}}";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();$headers = @{ Authorization = "Bearer $env:PUNAHA_TOKEN"; "x-request-id" = "example-request-001" }
$body = @'
{
"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
}
}
'@
Invoke-RestMethod -Method PUT `
-Uri "$env:PUNAHA_URL/api/workflows/example-workflowid/draft" `
-Headers $headers `
-ContentType "application/json" `
-Body $bodyRelated APIs
deleteapiWorkflowsWorkflowId, same domaindeleteapiWorkflowsWorkflowIdRunsRunId, same domaindeleteapiWorkflowsWorkflowIdStar, same domaingetapiWorkflows, read or monitorgetapiWorkflowsBpmnConformance, read or monitorgetapiWorkflowsBpmnConformanceReport, read or monitor
Version history
- Next Product release: Operation documented from the current registered Go route and handler contract.
Was this page helpful?
Your answer helps us improve the documentation.
Do not include personal information, customer information, passwords, or keys.