Alloy - STL Component Part Used
This workflow is included in the Street Lighting Package package.
Description
This workflow has no description.
Properties
This workflow has the following properties.
| Property | Value |
|---|---|
| Name | Alloy - STL Component Part Used |
| Code | workflows_warrantyAndPartsUsed_8f291121ff0823a0eb74aa95 |
| 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 or edited. Where attributes are listed, an edit to anything else is ignored.
| Property | Value |
|---|---|
| Workflow type | Event workflow |
| Applies to | Street Lighting Components |
| Events | Create, Edit |
| Collections | Live |
| Attributes listened for | attributes_streetLightingPartsUsedPartType_81984af1310ebb0162841293 (Part Type Warranty)attributes_assetsInstalledDate (Installed Date)attributes_streetLightingComponentsLastReplacedDate (Last Replaced Date) |
| Output mode | ManyItems (Runs once for all items) |
| Can be triggered by other workflows | Yes (indirectly, via item changes) |
Actions
This workflow runs 2 actions, in the order shown in this simplified diagram. Select an MWR action to open the workflow it runs. Every action's full settings are in the configuration below.
Configuration
The full configuration of this workflow, including every action's parameters.
Show configuration (68 lines)
{
"trigger": {
"dodiCode": "designInterfaces_streetLightingComponents",
"collections": [
"Live"
],
"events": [
"Create",
"Edit"
],
"attributesListeningFor": [
"attributes_streetLightingPartsUsedPartType_81984af1310ebb0162841293",
"attributes_assetsInstalledDate",
"attributes_streetLightingComponentsLastReplacedDate"
],
"outputMode": "ManyItems",
"canBeTriggeredByWorkflows": true
},
"actions": [
{
"actionId": "8a3d40cf58dda1d4cc431918",
"designCode": "designs_generateAttributesForWarrantyAndPartsUsed_8607768d434a669bb8d1f2ea",
"description": "Call Warranty and Parts Used Workflow",
"parameters": [
{
"attributeCode": "attributes_generatePartUsedWarrantyDate_83d20b7558095b5f015c35bd",
"attributeType": "DateTime",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_streetLightingWarrantyWarrantyExpires_8eda1f094dbffaf6f4d6e4c2"
}
}
},
{
"attributeCode": "attributes_generatePartUsedInstalledDate_8baa0a246eb331bd4b7d5b61",
"attributeType": "DateTime",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_streetLightingComponentsLastReplacedDate"
}
}
},
{
"attributeCode": "attributes_generatePartUsedType_849d8aefdd6763576b5bd00c",
"attributeType": "String",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_itemsSubtitle"
}
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "8bf80083206adafe1dc01558",
"designCode": "designs_setWarrantyExpires_8adeacef2f11849dd65b7a3f",
"description": "Call Set Warranty Expires Workflow",
"parameters": [],
"variables": [],
"actions": []
}
]
}