My Team's Highways Jobs - Default
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 | My Team's Highways Jobs - Default |
| Item ID | 682afb6f6c1c5b66f145f621 |
| Type | Standard |
| Collection | Template |
| Context | Package |
| Show percentage bars | No |
| Default app | Not specified, each data point opens in the most suitable app for its type |
Data points
This widget has 8 data points, each querying the items below.
| Data point | Source | Targets | Icon | Colour |
|---|---|---|---|---|
| My Team's proposed status jobs | Query | Highways Jobs | icon-resource-job | #2ac89f |
| My Team's issued status jobs | Query | Highways Jobs | icon-resource-job | #f9bc13 |
| My Team's in progress status jobs | Query | Highways Jobs | icon-resource-job | #690095 |
| My Team's issued jobs due today | Query | Highways Jobs | icon-resource-job | #fc8150 |
| My Team's issued status overdue jobs | Query | Highways Jobs | icon-resource-job | #df412c |
| My Team's jobs overdue & not status issued / completed | Query | Highways Jobs | icon-resource-job | #aa0001 |
| My Team's on hold status jobs | Query | Highways Jobs | icon-resource-job | #025082 |
| My Team's completed jobs in the last 30 days | Query | Highways Jobs | icon-resource-job | #44a541 |
Configuration
The full configuration of this widget, including each data point's query.
Show configuration (802 lines)
{
"hasBars": false,
"type": "Standard",
"dataPoints": [
{
"id": "c2095b90-3495-11f0-aefa-530f4559b3ff",
"name": "My Team's proposed status jobs",
"style": {
"icon": "icon-resource-job",
"colour": "#2ac89f"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c72"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "0df31aa0-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's issued status jobs",
"style": {
"icon": "icon-resource-job",
"colour": "#f9bc13"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c73"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "26579c60-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's in progress status jobs",
"style": {
"icon": "icon-resource-job",
"colour": "#690095"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c74"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "55ecb3c0-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's issued jobs due today",
"style": {
"icon": "icon-resource-job",
"colour": "#fc8150"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c73"
]
}
}
]
},
{
"type": "GreaterThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfDay",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "EndOfDay",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "87744c50-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's issued status overdue jobs",
"style": {
"icon": "icon-resource-job",
"colour": "#df412c"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c73"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "Now",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "daded220-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's jobs overdue & not status issued / completed",
"style": {
"icon": "icon-resource-job",
"colour": "#aa0001"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "NotEquals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c73",
"5bc5bdd281d088d177342c76",
"5bc5bdd281d088d177342c77",
"5bc5bdd281d088d177342c78",
"5bc5bdd281d088d177342c79"
]
}
}
]
},
{
"type": "LessThan",
"properties": {
"inclusive": true
},
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksTargetTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "Now",
"value": [
"0.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "f98cac10-3496-11f0-aefa-530f4559b3ff",
"name": "My Team's on hold status jobs",
"style": {
"icon": "icon-resource-job",
"colour": "#025082"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c75"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
},
{
"id": "2c9677d0-3497-11f0-aefa-530f4559b3ff",
"name": "My Team's completed jobs in the last 30 days",
"style": {
"icon": "icon-resource-job",
"colour": "#44a541"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_tasksWithTaskTypesTaskType",
"attributes_tasksIdentifierAssetReferece",
"attributes_tasksIdentifierTaskLocation",
"attributes_tasksDescription",
"attributes_tasksStatus",
"attributes_tasksPriority",
"attributes_tasksTeam",
"attributes_tasksTargetTime",
"attributes_tasksRaisedTime",
"attributes_tasksEstimatedStartTime",
"attributes_tasksEstimatedEndTime",
"attributes_tasksCompletionTime",
"attributes_jobsJobNumber",
"attributes_jobsJobWorkItems",
"attributes_highwaysJobWorkerComments_67eab5154b272a3931e1d058",
"attributes_jobsFixingDefectsFixedDefects"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_highwaysJobs_67e6472bcb15029b2c49ab4a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
},
"children": [
{
"type": "And",
"children": [
{
"type": "Equals",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksStatus"
}
},
{
"type": "AlloyId",
"properties": {
"value": [
"5bc5bdd281d088d177342c76"
]
}
}
]
},
{
"type": "GreaterThan",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_tasksCompletionTime"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "StartOfDay",
"value": [
"-30.00:00:00.000"
]
}
}
]
},
{
"type": "Equals",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "itemId",
"path": "root.attributes_tasksTeam.attributes_teamsMembers^attributes_usersTeamMembers"
}
},
{
"type": "AlloyId",
"properties": {
"parameterName": "currentUserId"
}
}
]
}
]
}
]
}
}
]
}