Skip to main content

Alloy - Update Lantern Fields and Control Link

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 and Control Link
Codeworkflows_lanternToController_8f818a6e1240353490c2a41b
TypeWorkflow
ContextPackage
EnabledYes

Trigger​

A user triggers this workflow on demand. It works on the items of the design below.

PropertyValue
Workflow typeManual workflow
Applies toLanterns
Output modeManyItems  (Runs once for all items)

Actions​

This workflow runs 8 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 (204 lines)
{
"trigger": {
"dodiCode": "designs_lanterns",
"outputMode": "ManyItems"
},
"actions": [
{
"actionId": "82cdf943aab0a49418bc0d72",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_streetLightingAllowsLanternsLanterns<designs_brackets>^attributes_streetLightingAllowsBracketsBrackets<designs_streetLights>.attributes_streetLightingUnitsControllers",
"attributeType": "String"
}
}
],
"variables": [],
"actions": [
{
"actionId": "87b1d43cb83734c1efcf38c0",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_controllers"
},
"children": [
{
"type": "NotExists",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_controllersControlledLanterns"
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "85af62c6e95757e63077f667",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_controllersControlledLanterns",
"value": {
"outputAction": "865956cbfee7729b950737ca",
"itemValue": {
"property": "ItemId"
},
"outputMode": "All"
},
"attributeType": "Link"
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "865956cbfee7729b950737ca",
"designCode": "designs_workflowOutputAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_workflowOutputActionItems",
"value": {
"inputParent": 0,
"itemValue": {
"property": "ItemId"
}
},
"attributeType": "Link"
},
{
"attribute": {
"attributeCode": "attributes_workflowOutputActionDodiCode",
"value": "designs_lanterns",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "899eeacfd670d5b6b8eb178f",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_lanternsLanternType",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "81d6bb61f5fe2b71ba6c46f4",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_lanternsCleaningCycle_8d3228a3faecb71aef76c8cf",
"value": {
"outputAction": "899eeacfd670d5b6b8eb178f",
"itemValue": {
"attributeCode": "attributes_lanternTypesCleanCycle_8ca982980381d75813afe2ff"
},
"outputMode": "Input"
},
"attributeType": "Number"
}
],
"variables": [],
"actions": [
{
"actionId": "810060bc5a7dcc0a59e7a0ba",
"designCode": "designs_workflowFilterAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designs_lanterns"
},
"children": [
{
"type": "NotExists",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_assetsInstalledDate"
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8c33637b76fa48183cd5c0bd",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_assetsInstalledDate",
"attributeType": "DateTime",
"value": {
"offsetMilliseconds": 6000
}
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}