Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1571
ActionField1571
Beschrijving: Create a condition measurement via button 'Add element' Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
XMLbewerken
<Workflow Name="ActionField1571" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a condition measurement via button 'Add element'</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="BuildingFloor" Type="BuildingFloor" Accessor="Internal" />
<Property Name="BuildingPart" Type="BuildingPart" Accessor="Internal" />
<Property Name="Space" Type="Space" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="Check if ConditionMeasurement can be created" Condition="${Job.Status} != JobStatus.Finished" MessageCode="3167">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Validation>
<Transaction>
<When Name="if buildingpart id set" Condition="${Job.BuildingPartId} != Empty">
<GetItem Name="get BuildingPart" Type="BuildingPart" OutputProperty="${BuildingPart}">
<Filters>
<PropertyFilter PropertyName="Id.Id" Operator="=" PropertyValue="${Job.BuildingPartId}" />
<PropertyFilter PropertyName="Id.Building.Id" Operator="=" PropertyValue="${Job.BuildingId}" />
</Filters>
</GetItem>
</When>
<When Name="if buildingfloor id set" Condition="${Job.BuildingFloorId} != Empty">
<GetItem Name="get BuildingFloor" Type="BuildingFloor" OutputProperty="${BuildingFloor}">
<Filters>
<PropertyFilter PropertyName="Id.Id" Operator="=" PropertyValue="${Job.BuildingFloorId}" />
<PropertyFilter PropertyName="Id.BuildingPart.Id.Id" Operator="=" PropertyValue="${Job.BuildingPartId}" />
<PropertyFilter PropertyName="Id.BuildingPart.Id.Building.Id" Operator="=" PropertyValue="${Job.BuildingId}" />
</Filters>
</GetItem>
</When>
<Assign Name="set Space" Property="${Space}" Value="${Job.Space}" />
</Transaction>
<WorkflowCall Name="Dialog_AddComponent" WorkflowName="Dialog_AddComponent">
<Parameter Name="BuildingId" Direction="In" Value="${Job.BuildingId}" />
<Parameter Name="BuildingFloor" Direction="InOut" Value="${BuildingFloor}" OutputProperty="${BuildingFloor}" />
<Parameter Name="BuildingPart" Direction="InOut" Value="${BuildingPart}" OutputProperty="${BuildingPart}" />
<Parameter Name="Space" Direction="InOut" Value="${Space}" OutputProperty="${Space}" />
</WorkflowCall>
<WorkflowCall Name="Job_CreateConditionMeasurement" WorkflowName="Job_CreateConditionMeasurement">
<Parameter Name="BuildingFloor" Direction="In" Value="${BuildingFloor}" />
<Parameter Name="BuildingPart" Direction="In" Value="${BuildingPart}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="Space" Direction="In" Value="${Space}" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>