Skip to main content

Causeway Item Authorization Command Handler

This workflow is included in the Causeway module.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameCauseway Item Authorization Command Handler
Codeworkflows_causewayItemAuthorizationCommandHandler
TypeWorkflow
ContextModule
EnabledYes
Elevated priorityYes

Trigger​

The system triggers this workflow when a message of the design below is received, rather than when items change.

PropertyValue
Workflow typeMessage
Applies toItems
Parameters designCauseway Item Authorization Command
Can be triggered by other workflowsNo

Actions​

This workflow runs 2 actions, in the order shown in this simplified diagram. Every action's full settings are in the configuration below.

Configuration​

The full configuration of this workflow, including every action's parameters.

Show configuration (106 lines)
{
"trigger": {
"dodiCode": "designInterfaces_items",
"parametersDesignCode": "designs_causewayItemAuthorizationCommand",
"canBeTriggeredByWorkflows": false
},
"actions": [
{
"actionId": "689b49251030bc4b6b01874d",
"designCode": "designs_workflowQueryAction",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowQueryActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"collectionCode": "Live",
"dodiCode": "designInterfaces_items",
"parameters": [
{
"name": "authorizedItemId",
"type": "AlloyId",
"defaultValue": [],
"title": "Authorized Item ID"
}
]
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "ItemId"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "authorizedItemId"
}
}
]
}
]
}
}
}
],
"variables": [
{
"name": "authorizedItemId",
"value": {
"inputParent": 0,
"itemValue": {
"property": "ItemId"
}
}
}
],
"actions": []
},
{
"actionId": "689b49251030bc4b6b018752",
"designCode": "designs_workflowPublishMessageAction",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowPublishMessageActionsDesignCode",
"attributeType": "String",
"value": "designs_causewayItemAuthorizationCommandResponse"
}
},
{
"attributeCode": "attributes_messageCommandResponseTraceId",
"attributeType": "String",
"value": {
"parameterCode": "attributes_messageCommandTraceId",
"inputMode": "Each"
}
},
{
"attributeCode": "attributes_causewayItemAuthorizationCommandResponseAccessGranted",
"attributeType": "Boolean",
"value": {
"script": "authorizedItemId.Any()"
}
}
],
"variables": [
{
"name": "authorizedItemId",
"value": {
"outputAction": "689b49251030bc4b6b01874d",
"itemValue": {
"property": "ItemId"
}
}
}
],
"actions": []
}
]
}