Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield961
ActionField961
Beschrijving: Reset Space from Job. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
XMLbewerken
<Workflow Name="ActionField961" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Reset Space from Job.</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" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetItem Name="Get BuildingPart" Type="BuildingPart" OutputProperty="${BuildingPart}">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="Id.Building" Operator="=" PropertyValue="${Job.BuildingId}" />
<PropertyFilter PropertyName="Id.Id" Operator="=" PropertyValue="${Job.BuildingPartId}" />
</CombinedFilter>
</Filters>
</GetItem>
<When Name="Found a buildingPart" Condition="${BuildingPart} != Empty">
<GetItem Name="Get BuildingFloor" Type="BuildingFloor" OutputProperty="${BuildingFloor}">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="Id.BuildingPart" Operator="=" PropertyValue="${BuildingPart}" />
<PropertyFilter PropertyName="Id.Id" Operator="=" PropertyValue="${Job.BuildingFloorId}" />
</CombinedFilter>
</Filters>
</GetItem>
</When>
<When Name="Should reset space" Condition="${Job.Space} != Empty && (${Job.Space.BuildingFloor} != ${BuildingFloor} || ${Job.Space.BuildingFloor.Id.BuildingPart} != ${BuildingPart})">
<Assign Name="AssignSpace" Property="${Job.Space}" Value="Empty" />
</When>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>