Skip to main content

Alloy - Structural Inspection Unit 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 - Structural Inspection Unit Update
Codeworkflows_iNSPStructuralInspections_81e1e923bbffa4768fe724b3
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 Lighting Structural Tests
EventsEdit
CollectionsLive
Attributes listened forattributes_tasksStatus  (Status)
Output modeManyItems  (Runs once for all items)

Actions​

This workflow runs 20 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 (681 lines)
{
"trigger": {
"dodiCode": "designs_streetLightingUkStructuralTests",
"collections": [
"Live"
],
"events": [
"Edit"
],
"attributesListeningFor": [
"attributes_tasksStatus"
],
"outputMode": "ManyItems"
},
"actions": [
{
"actionId": "82b2011a04db261cbffb448a",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"collectionCode": "Live",
"dodiCode": "designs_streetLightingUkStructuralTests"
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c76"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "800f3b4ea35102a9c53e782a",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_tasksAssignableTasks<designs_streetLights>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8aec9963e5c7f9e0b131a3be",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"value": {
"inputParent": 2,
"itemValue": {
"attributeCode": "attributes_tasksCompletionTime"
}
},
"attributeType": "DateTime"
},
{
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_streetLightingUkStructuralTestsOutcome"
}
},
"attributeType": "Link"
}
],
"variables": [],
"actions": [
{
"actionId": "8652a6e01a0b16c4a9464d7d",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "8d7d4e663f4564d06ee53948",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd3414677dc1f3c42c878"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "837ca378675d757ae0a473fe",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 63072000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "81682d942ca6ca15e3dfcb6f",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"603670311dd242140c6a185d"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "82ef0afc7bfcc0f7c5fe0215",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 126144000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "881650104c680688e02e558d",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd3414677dc1f3c42c878"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "862c9d3716b98823f1d926f3",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 63072000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "8c03824f430f8ae5d50a7413",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd3fb4677dc1f3c42c87c"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8ea2173a319b332921e06f40",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 94608000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "82bb07c4860729e10ca4397c",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"6036702f1dd242140c6a185c"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "87f2f208b3be4f2273ee6d59",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 31536000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "82599b6be3042884d8be4e19",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd3474677dc1f3c42c879"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8a6a40a91b732c15b88100da",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 157680000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "8657236b00a886e7099ca2bf",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd3564677dc1f3c42c87b"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8c197ca6402bc820c1d679f6",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 189216000000
}
}
],
"variables": [],
"actions": []
}
]
},
{
"actionId": "867c0b91c022ffd79929884f",
"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": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_streetLightsLastStructuralResult_856ed446bfa9a64ec04dca63"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5e6cd34f4677dc1f3c42c87a"
]
}
}
]
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "82f9eeacef1c35bd10da09bc",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_streetLightsLastStructuralTestDate_86ee25a372a6d304e1e7251e",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 220752000000
}
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}
]
}
]
}