Skip to main content

Causeway Item Created

This workflow is included in the Causeway module.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameCauseway Item Created
Codeworkflows_causewayItemCreated
TypeWorkflow
ContextModule
EnabledYes
Elevated priorityYes

Trigger​

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

PropertyValue
Workflow typeEvent workflow
Applies toItems
EventsCreate
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": [
"Create"
],
"canBeTriggeredByWorkflows": true
},
"actions": [
{
"actionId": "64f8a9c0de0bf8df53a01501",
"designCode": "designs_workflowHttpRequestAction",
"parameters": [
{
"attributeCode": "attributes_workflowHttpRequestActionsUrl",
"attributeType": "String",
"value": {
"template": "https://mesh.$:environmentId.alloyapp.io/causeway/item-created"
}
},
{
"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, \"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": []
}
]
}