Skip to main content

Causeway Item Deleted

This workflow is included in the Causeway module.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameCauseway Item Deleted
Codeworkflows_causewayItemDeleted
TypeWorkflow
ContextModule
EnabledYes
Elevated priorityYes

Trigger​

The system triggers this workflow when items of the design below are deleted.

PropertyValue
Workflow typeEvent workflow
Applies toItems
EventsDelete
CollectionsLive, Inventory, Archive, Template
Output modeManyItems  (Runs once for all items)
Can be triggered by other workflowsYes (indirectly, via item changes)

Actions​

This workflow runs 1 action, 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 (75 lines)
{
"trigger": {
"dodiCode": "designInterfaces_items",
"outputMode": "ManyItems",
"collections": [
"Live",
"Inventory",
"Archive",
"Template"
],
"events": [
"Delete"
],
"canBeTriggeredByWorkflows": true
},
"actions": [
{
"actionId": "64f8a9c0de0bf8df53a01503",
"designCode": "designs_workflowHttpRequestAction",
"parameters": [
{
"attributeCode": "attributes_workflowHttpRequestActionsUrl",
"attributeType": "String",
"value": {
"template": "https://mesh.$:environmentId.alloyapp.io/causeway/item-deleted"
}
},
{
"attributeCode": "attributes_workflowHttpRequestActionsHttpHeaders",
"attributeType": "String",
"value": {
"template": "content-type: application/json\r\nauthorization: Bearer $:alloyJwt"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowHttpRequestActionsHttpMethod",
"attributeType": "Link",
"value": [
"5c6bd2fc4b4d4259071069e1"
]
}
},
{
"attributeCode": "attributes_workflowHttpRequestActionsBody",
"attributeType": "String",
"value": {
"template": "{ \"itemId\": \"$itemId\", \"signature\": \"000000000000000000000000\", \"designCode\": \"$:triggeredDesignCode\", \"interfaceCodes\": $:triggeredInterfaceCodes }"
}
}
],
"variables": [
{
"name": "itemId",
"value": {
"script": "itemIdVar[0].ToString()",
"itemValue": {
"property": "ItemId"
}
}
},
{
"name": "itemIdVar",
"value": {
"inputParent": 0,
"itemValue": {
"property": "ItemId"
}
}
}
],
"actions": []
}
]
}