Alloy - Works Order Created
This workflow is included in the Street Lighting Extended Activities package.
Description
This workflow has no description.
Properties
This workflow has the following properties.
| Property | Value |
|---|---|
| Name | Alloy - Works Order Created |
| Code | workflows_alloyWorksOrderCreated_841cf27ca52a4a9602d048ad |
| Type | Workflow |
| Context | Package |
| Enabled | Yes |
| Runs on | Working days and hours only (Both) |
Trigger
The system triggers this workflow when items of the design below are created.
| Property | Value |
|---|---|
| Workflow type | Event workflow |
| Applies to | Street Lighting Lighting Works Order |
| Events | Create |
| Collections | Live |
| Output mode | ManyItems (Runs once for all items) |
Actions
This workflow runs 6 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 (201 lines)
{
"trigger": {
"dodiCode": "designs_streetLightingLightingWorksOrder_822b5780a985d6480d146640",
"collections": [
"Live"
],
"events": [
"Create"
],
"outputMode": "ManyItems"
},
"actions": [
{
"actionId": "8f5bec4db390fbbd70576e44",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"dodiCode": "designs_streetLightingLightingWorksOrder_822b5780a985d6480d146640",
"collectionCode": "Live",
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
]
}
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "812f1c38c36448bd41733b16",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_lightingUnitStreetTownUnitNo_8d65cddb91853fa972ffc031",
"value": {
"outputAction": "823132bf0a7296b64795357b",
"itemValue": {
"attributeCode": "attributes_streetLightingUnitsUnitNumber"
},
"outputMode": "Input"
},
"attributeType": "String"
},
{
"attributeCode": "attributes_lightingUnitStreetTownStreet_8ebdf68485ebe96025aa882d",
"value": {
"outputAction": "8063c4135af388a85629d5c6",
"itemValue": {
"attributeCode": "attributes_nsgType15StreetDescriptorRecordsDescriptor"
},
"outputMode": "Input"
},
"attributeType": "String"
},
{
"attributeCode": "attributes_lightingUnitStreetTownTown_81ff35e484be3db491e8f7c3",
"value": {
"outputAction": "8063c4135af388a85629d5c6",
"itemValue": {
"attributeCode": "attributes_nsgType15StreetDescriptorRecordsTownName"
},
"outputMode": "Input"
},
"attributeType": "String"
}
],
"variables": [],
"actions": [
{
"actionId": "8542e344c1d645cc85140f2c",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_streetLightingLightingWorksOrderWorksOrderType_82566e7f6c5ff885719a40ad.attributes_worksOrderJobTypesMeasurementWorkItems_854a3d62a07f3637327ceb72",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "865c70311546c54e5fc57793",
"designCode": "designs_workflowCreateItemAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsDesignCode",
"value": "designs_measurementJobWorkItems",
"attributeType": "String"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsCollection",
"value": "Live",
"attributeType": "String"
}
},
{
"attributeCode": "attributes_workflowCreateItemActionsParents",
"value": {
"inputParent": 1,
"itemValue": {
"property": "ItemId"
}
},
"attributeType": "Link"
},
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsParentsLinkAttributeCode",
"value": "attributes_jobsJobWorkItems",
"attributeType": "String"
}
},
{
"attributeCode": "attributes_jobWorkItemsWorkItem",
"value": {
"inputParent": 0,
"itemValue": {
"property": "ItemId"
}
},
"attributeType": "Link"
},
{
"attribute": {
"attributeCode": "attributes_jobWorkItemsEstimatedValue",
"value": 1,
"attributeType": "Number"
}
},
{
"attributeCode": "attributes_jobWorkItemsBudget",
"value": {
"inputParent": 3,
"itemValue": {
"attributeCode": "attributes_streetLightingLightingWorksOrderBudgetCode_8cd938020d60e7c6e925c11b"
}
},
"attributeType": "Link"
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "823132bf0a7296b64795357b",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_tasksAssignableTasks<designs_streetLights>",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8063c4135af388a85629d5c6",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_networkReferenceableNetworkReferences<designs_basicNetworkReferences>^attributes_networksNetworkReferences<designInterfaces_nsgType11StreetRecords>.attributes_nsgType11StreetRecordsDescriptors",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}