Skip to main content

Causeway Item Edited

This workflow is included in the Causeway module.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameCauseway Item Edited
Codeworkflows_causewayItemEdited
TypeWorkflow
ContextModule
EnabledYes
Elevated priorityYes

Trigger​

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

PropertyValue
Workflow typeEvent workflow
Applies toItems
EventsEdit
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 (84 lines)
{
"trigger": {
"dodiCode": "designInterfaces_items",
"outputMode": "ManyItems",
"collections": [
"Live",
"Inventory",
"Archive",
"Template"
],
"events": [
"Edit"
],
"canBeTriggeredByWorkflows": true
},
"actions": [
{
"actionId": "64f8a9c0de0bf8df53a01502",
"designCode": "designs_workflowHttpRequestAction",
"parameters": [
{
"attributeCode": "attributes_workflowHttpRequestActionsUrl",
"attributeType": "String",
"value": {
"template": "https://mesh.$:environmentId.alloyapp.io/causeway/item-edited"
}
},
{
"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\": \"$signature\", \"designCode\": \"$:triggeredDesignCode\", \"attributes\": $:attributes, \"editedAttributeCodes\": $:triggeredAttributes, \"interfaceCodes\": $:triggeredInterfaceCodes }"
}
}
],
"variables": [
{
"name": "itemId",
"value": {
"script": "itemIdVar[0].ToString()",
"itemValue": {
"property": "ItemId"
}
}
},
{
"name": "itemIdVar",
"value": {
"inputParent": 0,
"itemValue": {
"property": "ItemId"
}
}
},
{
"name": "signature",
"value": {
"inputParent": 0,
"itemValue": {
"property": "Signature"
}
}
}
],
"actions": []
}
]
}