Skip to content

Saves Activation with configuration.manage, aggregate concurrency and operation idempotency.

PUT
/api/workspace/workflow/configuration/workflow-definitions/{workflowDefinitionId}/activation
curl --request PUT \
--url https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/activation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "Mode": 0, "Precondition": "example", "ExplicitPermission": { "Mode": 0, "ResourcePath": "example", "ResponsibilityKey": "example", "AnyOf": [ { "ResourcePath": "example", "ResponsibilityKey": "example" } ], "Match": 0, "Permissions": [ { "Key": "example", "Transition": "example" } ], "Expression": "example" }, "ExpectedRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "OperationId": "example" }'
workflowDefinitionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

object
Mode
integer format: int32
Allowed values: 0 1
Precondition
string
nullable
ExplicitPermission

Portable authoring value for admission to an operation on its context.

object
Mode

The source of a context permission rule.

integer format: int32
Allowed values: 0 1 2
ResourcePath

Resource scope used by Responsible.

string
nullable
ResponsibilityKey

Responsibility definition key used by Responsible.

string
nullable
AnyOf

Any selected responsibility may grant admission. When present, scalar ResourcePath/ResponsibilityKey must be absent.

Array<object>
nullable

A responsibility definition in an exact context resource scope.

object
ResourcePath
string
nullable
ResponsibilityKey
string
nullable
Match

How selected context permissions are combined.

integer format: int32
Allowed values: 0 1
Permissions

Selections used by InheritPermission.

Array<object>
nullable

An existing permission and its optional transition selector.

object
Key
string
nullable
Transition
string
nullable
Expression

Security DSL source used by Dsl.

string
nullable
ExpectedRowVersion
string format: uuid
OperationId
string
nullable

OK

Media typeapplication/json
object
Data
object
Activation
object
WorkflowDefinitionId
string
nullable
Mode
integer format: int32
Allowed values: 0 1
Precondition
string
nullable
ExplicitPermission

Portable authoring value for admission to an operation on its context.

object
Mode

The source of a context permission rule.

integer format: int32
Allowed values: 0 1 2
ResourcePath

Resource scope used by Responsible.

string
nullable
ResponsibilityKey

Responsibility definition key used by Responsible.

string
nullable
AnyOf

Any selected responsibility may grant admission. When present, scalar ResourcePath/ResponsibilityKey must be absent.

Array<object>
nullable

A responsibility definition in an exact context resource scope.

object
ResourcePath
string
nullable
ResponsibilityKey
string
nullable
Match

How selected context permissions are combined.

integer format: int32
Allowed values: 0 1
Permissions

Selections used by InheritPermission.

Array<object>
nullable

An existing permission and its optional transition selector.

object
Key
string
nullable
Transition
string
nullable
Expression

Security DSL source used by Dsl.

string
nullable
RowVersion
string format: uuid
CanUpdate
boolean
Replayed
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Activation": {
"Mode": 0,
"ExplicitPermission": {
"Mode": 0,
"Match": 0
}
}
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}