Skip to main content

HWY - SE inspection completed

This workflow is included in the Highways package.

Description​

A baseline workflow to update Service Enquiries off the back of Highways service enquiry inspection completion.

Properties​

This workflow has the following properties.

PropertyValue
NameHWY - SE inspection completed
Codeworkflows_hWYSEInspectionCompleted_685015b32370a8e3e5e7d99e
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 toHighways Service Enquiry Inspection
EventsEdit
CollectionsLive
Attributes listened forattributes_tasksStatus  (Status)
Output modeManyItems  (Runs once for all items)
Can be triggered by other workflowsNo

Actions​

This workflow runs 14 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 (525 lines)
{
"trigger": {
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"collections": [
"Live"
],
"events": [
"Edit"
],
"attributesListeningFor": [
"attributes_tasksStatus"
],
"outputMode": "ManyItems",
"canBeTriggeredByWorkflows": false
},
"actions": [
{
"actionId": "687772db4a69d96aec51c49e",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c76"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "687772db4a69d96aec51c49f",
"designCode": "designs_workflowFilterAction",
"description": "Could not locate",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4563b8343736979479178"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "6877730c4a69d96aec51c4c9",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent service enquiries",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsWithInspectionsDefectInspection<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "687773634a69d96aec51c50a",
"designCode": "designs_workflowEditItemAction",
"description": "Set outcome, status, and feedback",
"parameters": [
{
"attributeCode": "attributes_serviceEnquiriesFeedback_87ce5dc68af938115b8e3093",
"attributeType": "String",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryComments_84dc5edb436943b3d9889064"
}
}
},
{
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f",
"attributeType": "Link",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
}
},
{
"attribute": {
"attributeCode": "attributes_defectsStatus",
"value": [
"5c8bdfe08ae862230019dc24"
],
"attributeType": "Link"
}
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "687772db4a69d96aec51c4a0",
"designCode": "designs_workflowFilterAction",
"description": "Not at intervention level",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4565ebd6b18fc5171d7f8"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "687773964a69d96aec51c55f",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent service enquiries",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsWithInspectionsDefectInspection<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "687773d34a69d96aec51c599",
"designCode": "designs_workflowEditItemAction",
"description": "Set outcome, status, and feedback",
"parameters": [
{
"attributeCode": "attributes_serviceEnquiriesFeedback_87ce5dc68af938115b8e3093",
"attributeType": "String",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryComments_84dc5edb436943b3d9889064"
}
}
},
{
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f",
"attributeType": "Link",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
}
},
{
"attribute": {
"attributeCode": "attributes_defectsStatus",
"value": [
"5c8bdfe08ae862230019dc24"
],
"attributeType": "Link"
}
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "687772db4a69d96aec51c4a1",
"designCode": "designs_workflowFilterAction",
"description": "Other landowner",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4567fbd6b18fc5171dbce"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "687773ea4a69d96aec51c5c4",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent service enquiries",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsWithInspectionsDefectInspection<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "6877740d4a69d96aec51c5f1",
"designCode": "designs_workflowEditItemAction",
"description": "Set outcome, status, and feedback",
"parameters": [
{
"attributeCode": "attributes_serviceEnquiriesFeedback_87ce5dc68af938115b8e3093",
"attributeType": "String",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryComments_84dc5edb436943b3d9889064"
}
}
},
{
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f",
"attributeType": "Link",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
}
},
{
"attribute": {
"attributeCode": "attributes_defectsStatus",
"value": [
"5c8bdfe08ae862230019dc24"
],
"attributeType": "Link"
}
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "687772db4a69d96aec51c4a2",
"designCode": "designs_workflowFilterAction",
"description": "Other department",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4576f834373697947b135"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "687772db4a69d96aec51c4a3",
"designCode": "designs_workflowFilterAction",
"description": "Job Raised",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b45778834373697947b261"
]
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "68777a8bd778758ceb4252a7",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent service enquiries",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsWithInspectionsDefectInspection<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "68777ad7d778758ceb4252e8",
"designCode": "designs_workflowEditItemAction",
"description": "Set outcome, status, and feedback",
"parameters": [
{
"attributeCode": "attributes_serviceEnquiriesFeedback_87ce5dc68af938115b8e3093",
"attributeType": "String",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryComments_84dc5edb436943b3d9889064"
}
}
},
{
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f",
"attributeType": "Link",
"value": {
"inputParent": 1,
"itemValue": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
}
},
{
"attribute": {
"attributeCode": "attributes_defectsStatus",
"value": [
"5c8bdfc18ae862230019dc21"
],
"attributeType": "Link"
}
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}
]
}