Skip to main content

Alloy Base Asset Update

This workflow is included in the Street Lighting Package package.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameAlloy Base Asset Update
Codeworkflows_baseAssetUpdate_8849e24f60cbab0016152480
TypeWorkflow
ContextPackage
EnabledYes
Runs onWorking days and hours only (Both)

Trigger​

The system triggers this workflow when items of the design below are edited. Where attributes are listed, an edit to anything else is ignored.

PropertyValue
Workflow typeEvent workflow
Applies toStreet Lights
EventsEdit
CollectionsLive
Attributes listened forattributes_streetLightsLightingAssetTemplate_8684e74de68f4f70c759a6d4  (Lighting Asset Template)
Output modeManyItems  (Runs once for all items)

Actions​

This workflow runs 16 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 (466 lines)
{
"trigger": {
"dodiCode": "designs_streetLights",
"collections": [
"Live"
],
"events": [
"Edit"
],
"attributesListeningFor": [
"attributes_streetLightsLightingAssetTemplate_8684e74de68f4f70c759a6d4"
],
"outputMode": "ManyItems"
},
"actions": [
{
"actionId": "8ef1b03444af4525d4bfc3be",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_streetLights"
},
"children": [
{
"type": "And",
"children": [
{
"type": "Exists",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLightingAssetTemplate_8684e74de68f4f70c759a6d4"
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "89da92049144776cc25b8858",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightsLightingAssetTemplate_8684e74de68f4f70c759a6d4",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "81db90f8862b14b2bb22bcf6",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_lightingAssetTemplateLamp_85ae8447370103bca8afae2c",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "82976d076b2a28b7e240dc5f",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_lampTypesWithEnergyCodesElexonEnergyCode_85a1f5b8f7def46c1552e34b",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "80af26b903eb8fc85c29d74e",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightingUnitsWithColumnsColumnType",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"attributeCode": "attributes_lightingAssetTemplateColumn_8bd3ceaffeb1b6b264a935e4"
},
"outputMode": "Input"
},
"attributeType": "Link"
}
],
"variables": [],
"actions": [
{
"actionId": "818d6fdbbe6c23725f4a8d9b",
"designCode": "designs_workflowRemoveLinks",
"description": "",
"parameters": [
{
"attributeCode": "attributes_workflowActionRemoveLinksItemsCode",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"property": "ItemId"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attribute": {
"attributeCode": "attributes_workflowActionPatchLinkAttributeCode",
"value": "attributes_streetLightsLightingAssetTemplate_8684e74de68f4f70c759a6d4",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "83e9fc008fd1416e9c49f870",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingAllowsBracketsBrackets",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8e1f93ba774ed51307e17702",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_bracketsBracketType",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"attributeCode": "attributes_lightingAssetTemplateBracket_8ee6091831d3ad368c9cde6e"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_assetsInstalledDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "84afab3fbf6f97ce6428d82d",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingAllowsBracketsBrackets.attributes_streetLightingAllowsLanternsLanterns",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8ba8ad427e9c03225576b354",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_lanternsLanternType",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"attributeCode": "attributes_lightingAssetTemplateLantern_88029e0a73c789f15f52bff8"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_lanternsLanternCleanedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_assetsInstalledDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "82d57316070477152c1e195a",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingAllowsBracketsBrackets.attributes_streetLightingAllowsLanternsLanterns.attributes_lanternsLamps",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "84defd839d20c9cbc7d78e4f",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_lampsLampType",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"attributeCode": "attributes_lightingAssetTemplateLamp_85ae8447370103bca8afae2c"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_lampsChargeCode_8a1c7bf9cbcd0911a4904712",
"value": {
"outputAction": "82976d076b2a28b7e240dc5f",
"itemValue": {
"attributeCode": "attributes_elexonEnergyCodesChargeCode_8c2abf3e630b3d1e546ff6f1"
},
"outputMode": "Input"
},
"attributeType": "String"
},
{
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_assetsInstalledDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "83902766112eff36cb48f417",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingAllowsBracketsBrackets.attributes_streetLightingAllowsLanternsLanterns.attributes_lanternsGears",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8c0365344ea867355f5eb298",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_gearsGearType",
"value": {
"outputAction": "89da92049144776cc25b8858",
"itemValue": {
"attributeCode": "attributes_lightingAssetTemplateGear_8621515268bcc54adeee50c0"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_assetsInstalledDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "85cc9824fc2cf8523029f9e0",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingUnitsControllers",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "879674494e110489b9b772c4",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_controllersControllerType",
"value": {
"outputAction": "85cc9824fc2cf8523029f9e0",
"itemValue": {
"attributeCode": "attributes_controllersControllerType"
},
"outputMode": "Input"
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_assetsInstalledDate",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_assetsInstalledDate"
}
},
"attributeType": "DateTime"
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}