Skip to main content

Alloy - Update Lantern Fields

This workflow is included in the Street Lighting Package package.

Description​

This workflow has no description.

Properties​

This workflow has the following properties.

PropertyValue
NameAlloy - Update Lantern Fields
Codeworkflows_alloyUpdateLanternFields_8d033a34cbafc4f3bed3baf9
TypeWorkflow
ContextPackage
EnabledNo
Runs onWorking 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.

PropertyValue
Workflow typeEvent workflow
Applies toLanterns
EventsCreate, Edit
CollectionsLive
Attributes listened forattributes_lanternsLanternType  (Lantern Type)
Output modeManyItems  (Runs once for all items)

Actions​

This workflow runs 2 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 (54 lines)
{
"trigger": {
"dodiCode": "designs_lanterns",
"collections": [
"Live"
],
"events": [
"Create",
"Edit"
],
"attributesListeningFor": [
"attributes_lanternsLanternType"
],
"outputMode": "ManyItems"
},
"actions": [
{
"actionId": "8497ab4d20d437b8dc62399b",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_lanternsLanternType",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "8cb6ff95535b2ab6ee1231c1",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_lanternsCleaningCycle_8d3228a3faecb71aef76c8cf",
"value": {
"outputAction": "8497ab4d20d437b8dc62399b",
"itemValue": {
"attributeCode": "attributes_lanternTypesCleanCycle_8ca982980381d75813afe2ff"
},
"outputMode": "Input"
},
"attributeType": "Number"
}
],
"variables": [],
"actions": []
}
]
}