KPIs - Service Enquiries by Outcome
This hub widget is included in the Highways package.
Description
This widget is a template, so it's offered by the From template menu when a user adds a widget to a hub.
Properties
This widget has the following properties.
| Property | Value |
|---|---|
| Name | KPIs - Service Enquiries by Outcome |
| Item ID | 6878e8b16c571718fb6b8235 |
| Type | Standard |
| Collection | Template |
| Context | Package |
| Show percentage bars | No |
| Default app | DataExplorer |
Data points
This widget has 5 data points, each querying the items below.
| Data point | Source | Targets | Icon | Colour |
|---|---|---|---|---|
| This year's Service Enquiry Inspections - Job Raised outcome | Query | Highways Service Enquiry Inspection | icon-inspection-unknown | #7f44d4 |
| This year's Service Enquiry Inspections - Not at intervention level outcome | Query | Highways Service Enquiry Inspection | icon-inspection-unknown | #7f44d4 |
| This year's Service Enquiry Inspections - Responsibility of other department outcome | Query | Highways Service Enquiry Inspection | icon-inspection-unknown | #7f44d4 |
| This year's Service Enquiry Inspections - Responsibility of other landowner outcome | Query | Highways Service Enquiry Inspection | icon-inspection-unknown | #7f44d4 |
| This year's Service Enquiry Inspection - Could not locate outcome | Query | Highways Service Enquiry Inspection | icon-inspection-unknown | #7f44d4 |
Configuration
The full configuration of this widget, including each data point's query.
Show configuration (552 lines)
{
"hasBars": false,
"defaultApp": "DataExplorer",
"type": "Standard",
"dataPoints": [
{
"id": "66823140-6305-11f0-86f5-0deca73b6c70",
"name": "This year's Service Enquiry Inspections - Job Raised outcome",
"style": {
"icon": "icon-inspection-unknown",
"colour": "#7f44d4"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTeamMember",
"attributes_tasksRaisedTime",
"attributes_tasksCompletionTime",
"attributes_tasksTargetTime",
"attributes_inspectionsInspectionNumber",
"attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b45778834373697947b261"
]
}
}
]
}
]
}
]
}
},
{
"id": "82990ca0-6305-11f0-86f5-0deca73b6c70",
"name": "This year's Service Enquiry Inspections - Not at intervention level outcome",
"style": {
"icon": "icon-inspection-unknown",
"colour": "#7f44d4"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTeamMember",
"attributes_tasksRaisedTime",
"attributes_tasksCompletionTime",
"attributes_tasksTargetTime",
"attributes_inspectionsInspectionNumber",
"attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4565ebd6b18fc5171d7f8"
]
}
}
]
}
]
}
]
}
},
{
"id": "a3fa6dd0-6305-11f0-86f5-0deca73b6c70",
"name": "This year's Service Enquiry Inspections - Responsibility of other department outcome",
"style": {
"icon": "icon-inspection-unknown",
"colour": "#7f44d4"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTeamMember",
"attributes_tasksRaisedTime",
"attributes_tasksCompletionTime",
"attributes_tasksTargetTime",
"attributes_inspectionsInspectionNumber",
"attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4576f834373697947b135"
]
}
}
]
}
]
}
]
}
},
{
"id": "c22cd630-6305-11f0-86f5-0deca73b6c70",
"name": "This year's Service Enquiry Inspections - Responsibility of other landowner outcome",
"style": {
"icon": "icon-inspection-unknown",
"colour": "#7f44d4"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTeamMember",
"attributes_tasksRaisedTime",
"attributes_tasksCompletionTime",
"attributes_tasksTargetTime",
"attributes_inspectionsInspectionNumber",
"attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4567fbd6b18fc5171dbce"
]
}
}
]
}
]
}
]
}
},
{
"id": "d5193270-6305-11f0-86f5-0deca73b6c70",
"name": "This year's Service Enquiry Inspection - Could not locate outcome",
"style": {
"icon": "icon-inspection-unknown",
"colour": "#7f44d4"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTeamMember",
"attributes_tasksRaisedTime",
"attributes_tasksCompletionTime",
"attributes_tasksTargetTime",
"attributes_inspectionsInspectionNumber",
"attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysServiceEnquiryInspection_67b744d0e716149b9424fe3f",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfYear",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryInspectionsServiceEnquiryOutcome_86b70589b8114ef0fc29df8c"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"67b4563b8343736979479178"
]
}
}
]
}
]
}
]
}
}
]
}