Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1700
ActionField1700
Beschrijving: Builds given object (Equipment) into an existing or new fleet number as selected via the dialog. Also build object out is supported. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Equipment | Equipment | Root |
| EmployeeContextsToShow | List[Context] | Optional |
| LocationContextToSearch | List[Context] | Optional |
| VendorContextToSearch | List[Context] | Optional |
| WarehouseContextToSearch | List[Context] | Optional |
Gerelateerde workflowsbewerken
| Workflow | Beschrijving |
|---|---|
Equipment_ActionField1700_BuildIn |
Builds in the given Equipment. Part of ActionField1700.wfl |
Equipment_ActionField1700_BuildOut |
Builds out the given Equipment (or ExchangePart). Part of ActionField1700.wfl |
Equipment_ActionField1700_BuildOutEquipment |
Builds out the given Equipment. Part of Equipment_ActionField1700_BuildOut.wfl. |
Equipment_ActionField1700_BuildOutExchangePart |
Builds out the given ExchangePart. Part of Equipment_ActionField1700_BuildOut.wfl. |
XMLbewerken
<Workflow Name="ActionField1700" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Builds given object (Equipment) into an existing or new fleet number as selected via the dialog. Also build object out is supported.</Description>
<Properties>
<Property Name="Equipment" Type="Equipment" Accessor="Root" Direction="In" />
<Property Name="EmployeeContextsToShow" Type="List[Context]" Accessor="Optional" Direction="In" Default="EmployeeContext.Standard" Comment="Controls which type of employees to show in selection list in the dialog." />
<Property Name="LocationContextToSearch" Type="List[Context]" Accessor="Optional" Direction="In" Default="LocationContext.Standard" Comment="Select Location from Locations with these contexts" />
<Property Name="VendorContextToSearch" Type="List[Context]" Accessor="Optional" Direction="In" Default="VendorContext.Standard" Comment="Select Vendor from Vendors with these contexts" />
<Property Name="WarehouseContextToSearch" Type="List[Context]" Accessor="Optional" Direction="In" Default="WarehouseContext.Standard" Comment="Select Warehouse from Warehouses with these contexts" />
<Property Name="ActionChosen" Type="UltimoString" Accessor="Internal" />
<Property Name="ChangedByEmployee" Type="Employee" Accessor="Internal" />
<Property Name="DateOfChange" Type="UltimoDateTime?" Accessor="Internal" />
<Property Name="DefaultSelectedProgressStatus" Type="ProgressStatus" Accessor="Internal" />
<Property Name="IsDefect" Type="Boolean" Accessor="Internal" />
<Property Name="IsFeatureToggleProgressStatusEquipmentEnabled" Type="Boolean" Accessor="Internal" />
<Property Name="Location" Type="Location" Accessor="Internal" />
<Property Name="NewProcessFunctionDescription" Type="UltimoString" Accessor="Internal" />
<Property Name="NewProcessFunctionId" Type="UltimoString" Accessor="Internal" />
<Property Name="NewProgressStatus" Type="ProgressStatus" Accessor="Internal" />
<Property Name="NonUpdatedEquipmentList" Type="List[Equipment]" Accessor="Internal" />
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Internal" />
<Property Name="ProgressStatusContext" Type="Context" Accessor="Internal" />
<Property Name="Remark" Type="UltimoString" Accessor="Internal" />
<Property Name="SelectableProgressStatuses" Type="List[ProgressStatus]" Accessor="Internal" />
<Property Name="ToWhere" Type="UltimoString" Accessor="Internal" />
<Property Name="Vendor" Type="Vendor" Accessor="Internal" />
<Property Name="Warehouse" Type="Warehouse" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Command Name="Equipment_IsFeatureToggleProgressStatusEnabled" CommandName="Equipment_IsFeatureToggleProgressStatusEnabled">
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="FeatureToggleIsEnabled" Direction="Out" OutputProperty="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
</Command>
<When Name="if feature toggle enabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == True">
<WorkflowCall Name="DomainObject_GetProgressStatusContext" WorkflowName="DomainObject_GetProgressStatusContext">
<Parameter Name="DomainObject" Direction="In" Value="${Equipment}" />
<Parameter Name="ProgressStatusContext" Direction="Out" OutputProperty="${ProgressStatusContext}" />
</WorkflowCall>
<WorkflowCall Name="DomainObject_GetProgressStatuses" WorkflowName="DomainObject_GetProgressStatuses">
<Parameter Name="DomainObject" Direction="In" Value="${Equipment}" />
<Parameter Name="ProgressStatusContext" Direction="In" Value="${ProgressStatusContext}" />
<Parameter Name="DefaultSelectedProgressStatus" Direction="Out" OutputProperty="${DefaultSelectedProgressStatus}" />
<Parameter Name="ProgressStatuses" Direction="Out" OutputProperty="${SelectableProgressStatuses}" />
</WorkflowCall>
</When>
<WorkflowCall Name="Dialog_ChangeFleetNumberOnEquipment" WorkflowName="Dialog_ChangeFleetNumberOnEquipment">
<Parameter Name="DefaultSelectedProgressStatus" Direction="In" Value="${DefaultSelectedProgressStatus}" />
<Parameter Name="EmployeeContextsToShow" Direction="In" Value="${EmployeeContextsToShow}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IsFeatureToggleProgressStatusEquipmentEnabled" Direction="In" Value="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
<Parameter Name="LocationContextsToSearch" Direction="In" Value="${LocationContextToSearch}" />
<Parameter Name="SelectableProgressStatuses" Direction="In" Value="${SelectableProgressStatuses}" />
<Parameter Name="VendorContextsToSearch" Direction="In" Value="${VendorContextToSearch}" />
<Parameter Name="WarehouseContextsToSearch" Direction="In" Value="${WarehouseContextToSearch}" />
<Parameter Name="ActionChosen" Direction="Out" OutputProperty="${ActionChosen}" />
<Parameter Name="ChangedByEmployee" Direction="Out" OutputProperty="${ChangedByEmployee}" />
<Parameter Name="DateOfChange" Direction="Out" OutputProperty="${DateOfChange}" />
<Parameter Name="ExistingProcessFunction" Direction="Out" OutputProperty="${ProcessFunction}" />
<Parameter Name="IsDefect" Direction="Out" OutputProperty="${IsDefect}" />
<Parameter Name="Location" Direction="Out" OutputProperty="${Location}" />
<Parameter Name="NewProcessFunctionDescription" Direction="Out" OutputProperty="${NewProcessFunctionDescription}" />
<Parameter Name="NewProcessFunctionId" Direction="Out" OutputProperty="${NewProcessFunctionId}" />
<Parameter Name="NewProgressStatus" Direction="Out" OutputProperty="${NewProgressStatus}" />
<Parameter Name="Remark" Direction="Out" OutputProperty="${Remark}" />
<Parameter Name="ToWhere" Direction="Out" OutputProperty="${ToWhere}" />
<Parameter Name="Vendor" Direction="Out" OutputProperty="${Vendor}" />
<Parameter Name="Warehouse" Direction="Out" OutputProperty="${Warehouse}" />
</WorkflowCall>
<Transaction>
<Comment><![CDATA[ The dialog has 3 options:
- build into existing fleet number
- build into new fleet number
- build out of current fleet number
If the object is already built in, it has to be build out first.]]></Comment>
<When Name="When object is already built in, build it out" Condition="${Equipment.ProcessFunction} != Empty">
<WorkflowCall Name="Equipment_ActionField1700_BuildOut" WorkflowName="Equipment_ActionField1700_BuildOut">
<Parameter Name="ChangedByEmployee" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="DateOfChange" Direction="In" Value="${DateOfChange}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IsDefect" Direction="In" Value="${IsDefect}" />
<Parameter Name="IsFeatureToggleProgressStatusEquipmentEnabled" Direction="In" Value="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
<Parameter Name="Location" Direction="In" Value="${Location}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="ToWhere" Direction="In" Value="${ToWhere}" />
<Parameter Name="Vendor" Direction="In" Value="${Vendor}" />
<Parameter Name="Warehouse" Direction="In" Value="${Warehouse}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="InOut" Value="${NonUpdatedEquipmentList}" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<When Name="Action 'Build into new Fleet Number' has been chosen" Condition="${ActionChosen} == BuildIntoNewFleetNumber">
<Insert Name="Create a new fleet number" ObjectType="ProcessFunction" OutputProperty="${ProcessFunction}">
<Parameter Name="Context" Direction="In" Value="ProcessFunctionContext.Fleet" />
<Parameter Name="Status" Direction="In" Value="ProcessFunctionStatus.Active" />
<Parameter Name="Description" Direction="In" Value="${NewProcessFunctionDescription}" />
<Parameter Name="Id" Direction="In" Value="${NewProcessFunctionId}" />
</Insert>
</When>
<When Name="One of two actions to build in the object has been chosen" Condition="${ActionChosen} != BuildOutOfFleetNumber">
<WorkflowCall Name="Equipment_ActionField1700_BuildIn" WorkflowName="Equipment_ActionField1700_BuildIn">
<Parameter Name="ChangedByEmployee" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="DateOfChange" Direction="In" Value="${DateOfChange}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IsFeatureToggleProgressStatusEquipmentEnabled" Direction="In" Value="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="InOut" Value="${NonUpdatedEquipmentList}" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
</Transaction>
<When Name="Only for context Fleet" Condition="${Equipment.Context} == EquipmentContext.Fleet">
<When Name="When build into has been chosen" Condition="(${ActionChosen} == BuildIntoExistingFleetNumber || ${ActionChosen} == BuildIntoNewFleetNumber) && ${ProcessFunction} != Empty">
<WorkflowCall Name="Equipment_InformUserWhenProcessFunctionsDiffer" WorkflowName="Equipment_InformUserWhenProcessFunctionsDiffer">
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
</WorkflowCall>
</When>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>
Sub-workflow XMLbewerken
Equipment_ActionField1700_BuildInbewerken
Beschrijving: Builds in the given Equipment. Part of ActionField1700.wfl
<Workflow Name="Equipment_ActionField1700_BuildIn" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Builds in the given Equipment. Part of ActionField1700.wfl</Description>
<Properties>
<Property Name="Equipment" Type="Equipment" Accessor="Root" Direction="In" />
<Property Name="ChangedByEmployee" Type="Employee" Accessor="Optional" Direction="In" />
<Property Name="DateOfChange" Type="UltimoDateTime?" Accessor="Optional" Direction="In" />
<Property Name="IsFeatureToggleProgressStatusEquipmentEnabled" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="NewProgressStatus" Type="ProgressStatus" Accessor="Optional" Direction="In" />
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Optional" Direction="In" />
<Property Name="Remark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="NonUpdatedEquipmentList" Type="List[Equipment]" Accessor="Optional" Direction="InOut" />
<Property Name="AutoRemark" Type="UltimoString" Accessor="Internal" />
<Property Name="BuiltInExchangeParts" Type="List[Equipment]" Accessor="Internal" Comment="Used for ChangeStatus to ExchangeOperational." />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Command Name="Build object/exchange part into fleet number" CommandName="ProcessFunction_BuildInEquipment">
<Parameter Name="Action" Direction="In" Value="EquipmentIn" />
<Parameter Name="BuildInChildEquipments" Direction="In" Value="True" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IncludeExchangeParts" Direction="In" Value="True" />
<Parameter Name="InstallDate" Direction="In" Value="${DateOfChange}" />
<Parameter Name="InstalledBy" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="BuiltInExchangeParts" Direction="Out" OutputProperty="${BuiltInExchangeParts}" />
</Command>
<Choose Name="Choose IsFeatureToggleProgressStatusEquipmentEnabled">
<When Name="When IsFeatureToggleProgressStatusEquipmentEnabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == True && ${NewProgressStatus} != Empty">
<Transaction>
<Command Name="Get label to prefill remark with" CommandName="GetLabel">
<Parameter Name="DomainObject" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="LabelCode" Direction="In" Value="CHANGESTATUS_INITIATED_FROM_BUILDIN" />
<Parameter Name="LabelValue" Direction="Out" OutputProperty="${AutoRemark}" />
</Command>
</Transaction>
<When Name="When AutoRemark is present" Condition="${AutoRemark} != Empty">
<Assign Name="Append AutoRemark to Remark" Property="${Remark}" Value="=${Remark} != Empty ? #concat(${Remark}, '<BR>', ${AutoRemark}) : ${AutoRemark}" />
<Assign Name="Reset AutoRemark" Property="${AutoRemark}" Value="Empty" />
</When>
<WorkflowCall Name="Equipment_ChangeProgressStatus" WorkflowName="Equipment_ChangeProgressStatus">
<Parameter Name="CurrentProgressStatus" Direction="In" Value="${Equipment.ProgressStatus}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<When Name="Otherwise IsFeatureToggleProgressStatusEquipmentEnabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == False">
<ForEach Name="For each ExchangePart built in" In="${BuiltInExchangeParts}" As="BuiltInExchangePart" Condition="${BuiltInExchangePart.Status} != EquipmentStatus.ExchangeDefect">
<ChangeStatus Name="BuiltInExchangePart" DomainObject="${BuiltInExchangePart}" NewStatus="EquipmentStatus.ExchangeOperational" />
</ForEach>
</When>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>
Equipment_ActionField1700_BuildOutbewerken
Beschrijving: Builds out the given Equipment (or ExchangePart). Part of ActionField1700.wfl
<Workflow Name="Equipment_ActionField1700_BuildOut" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Builds out the given Equipment (or ExchangePart). Part of ActionField1700.wfl</Description>
<Properties>
<Property Name="Equipment" Type="Equipment" Accessor="Root" Direction="In" Comment="Can be an Equipment or an ExchangePart." />
<Property Name="ChangedByEmployee" Type="Employee" Accessor="Optional" Direction="In" />
<Property Name="DateOfChange" Type="UltimoDateTime?" Accessor="Optional" Direction="In" />
<Property Name="IsDefect" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="IsFeatureToggleProgressStatusEquipmentEnabled" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="Location" Type="Location" Accessor="Optional" Direction="In" />
<Property Name="NewProgressStatus" Type="ProgressStatus" Accessor="Optional" Direction="In" />
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Optional" Direction="In" />
<Property Name="Remark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="ToWhere" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="Vendor" Type="Vendor" Accessor="Optional" Direction="In" />
<Property Name="Warehouse" Type="Warehouse" Accessor="Optional" Direction="In" />
<Property Name="NonUpdatedEquipmentList" Type="List[Equipment]" Accessor="Optional" Direction="InOut" />
<Property Name="AutoRemark" Type="UltimoString" Accessor="Internal" />
<Property Name="LabelCode" Type="String" Accessor="Internal" />
<Property Name="TextParameters" Type="Dictionary[Object]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<CreateObject Name="Initialize dictionary for text parameters" ObjectType="Dictionary[Object]" OutputProperty="${TextParameters}" />
<Assign Name="Add text parameter" Property="${TextParameters.DomainObject}" Value="${Equipment.ProcessFunction}" />
<Choose Name="Check if process function to build in is provided or not">
<When Name="When new process function to build in is provided" Condition="${ProcessFunction} != Empty">
<Assign Name="Set label code for combined build out/build in" Property="${LabelCode}" Value="CHANGESTATUS_INITIATED_FROM_COMBINED_BUILDOUT_BUILDIN" />
<Assign Name="And add text parameter for new process function" Property="${TextParameters.NewProcessFunction}" Value="${ProcessFunction}" />
</When>
<Otherwise Name="Otherwise, just build out">
<Assign Name="Set label code for build out" Property="${LabelCode}" Value="CHANGESTATUS_INITIATED_FROM_BUILDOUT" />
</Otherwise>
</Choose>
<Command Name="Get label to prefill remark with" CommandName="GetLabel">
<Parameter Name="LabelCode" Direction="In" Value="${LabelCode}" />
<Parameter Name="TextParameters" Direction="In" Value="${TextParameters}" />
<Parameter Name="LabelValue" Direction="Out" OutputProperty="${AutoRemark}" />
</Command>
<Choose Name="Check if object is an exchange part, or not">
<When Name="When object is an exchange part" Condition="${Equipment.ExchangePart} == True">
<WorkflowCall Name="Equipment_ActionField1700_BuildOutExchangePart" WorkflowName="Equipment_ActionField1700_BuildOutExchangePart">
<Parameter Name="AutoRemark" Direction="In" Value="${AutoRemark}" />
<Parameter Name="ChangedByEmployee" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="DateOfChange" Direction="In" Value="${DateOfChange}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IsDefect" Direction="In" Value="${IsDefect}" />
<Parameter Name="IsFeatureToggleProgressStatusEquipmentEnabled" Direction="In" Value="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
<Parameter Name="Location" Direction="In" Value="${Location}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="ToWhere" Direction="In" Value="${ToWhere}" />
<Parameter Name="Vendor" Direction="In" Value="${Vendor}" />
<Parameter Name="Warehouse" Direction="In" Value="${Warehouse}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<Otherwise Name="Otherwise, object is an equipment">
<WorkflowCall Name="Equipment_ActionField1700_BuildOutEquipment" WorkflowName="Equipment_ActionField1700_BuildOutEquipment">
<Parameter Name="AutoRemark" Direction="In" Value="${AutoRemark}" />
<Parameter Name="ChangedByEmployee" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="DateOfChange" Direction="In" Value="${DateOfChange}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IsFeatureToggleProgressStatusEquipmentEnabled" Direction="In" Value="${IsFeatureToggleProgressStatusEquipmentEnabled}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</Otherwise>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>
Equipment_ActionField1700_BuildOutEquipmentbewerken
Beschrijving: Builds out the given Equipment. Part of Equipment_ActionField1700_BuildOut.wfl.
<Workflow Name="Equipment_ActionField1700_BuildOutEquipment" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Builds out the given Equipment. Part of Equipment_ActionField1700_BuildOut.wfl.</Description>
<Properties>
<Property Name="Equipment" Type="Equipment" Accessor="Root" Direction="In" />
<Property Name="AutoRemark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="ChangedByEmployee" Type="Employee" Accessor="Optional" Direction="In" />
<Property Name="DateOfChange" Type="UltimoDateTime?" Accessor="Optional" Direction="In" />
<Property Name="IsFeatureToggleProgressStatusEquipmentEnabled" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="NewProgressStatus" Type="ProgressStatus" Accessor="Optional" Direction="In" />
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Optional" Direction="In" />
<Property Name="Remark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="NonUpdatedEquipmentList" Type="List[Equipment]" Accessor="Optional" Direction="InOut" />
<Property Name="BuiltOutExchangeParts" Type="List[Equipment]" Accessor="Internal" Comment="Used for ChangeStatus to ExchangeUsable." />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Command Name="Build object out of fleet number, optionally build into another fleet number" CommandName="ProcessFunction_BuildOutEquipment">
<Parameter Name="BuildOutChildEquipments" Direction="In" Value="True" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="IncludeExchangeParts" Direction="In" Value="True" />
<Parameter Name="MoveToProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="RemovalDate" Direction="In" Value="${DateOfChange}" />
<Parameter Name="RemovedBy" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="BuiltOutExchangeParts" Direction="Out" OutputProperty="${BuiltOutExchangeParts}" />
</Command>
<Choose Name="Choose FeatureToggle enabled/disabled">
<When Name="When FeatureToggle enabled and new progress status is provided" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == True && ${NewProgressStatus} != Empty">
<When Name="When AutoRemark is present" Condition="${AutoRemark} != Empty">
<Assign Name="Append AutoRemark to Remark" Property="${Remark}" Value="=${Remark} != Empty ? #concat(${Remark}, '<BR>', ${AutoRemark}) : ${AutoRemark}" />
<Assign Name="Reset AutoRemark" Property="${AutoRemark}" Value="Empty" />
</When>
<WorkflowCall Name="Equipment_ChangeProgressStatus" WorkflowName="Equipment_ChangeProgressStatus">
<Parameter Name="CurrentProgressStatus" Direction="In" Value="${Equipment.ProgressStatus}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<When Name="When FeatureToggle disabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == False">
<ForEach Name="For each ExchangePart built out" In="${BuiltOutExchangeParts}" As="BuiltOutExchangePart" Condition="${BuiltOutExchangePart.Status} != EquipmentStatus.ExchangeDefect">
<ChangeStatus Name="Change status to ExchangeUsable" DomainObject="${BuiltOutExchangePart}" NewStatus="EquipmentStatus.ExchangeUsable" />
</ForEach>
</When>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>
Equipment_ActionField1700_BuildOutExchangePartbewerken
Beschrijving: Builds out the given ExchangePart. Part of Equipment_ActionField1700_BuildOut.wfl.
<Workflow Name="Equipment_ActionField1700_BuildOutExchangePart" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Builds out the given ExchangePart. Part of Equipment_ActionField1700_BuildOut.wfl.</Description>
<Properties>
<Property Name="Equipment" Type="Equipment" Accessor="Root" Direction="In" Comment="Should be an exchange part." />
<Property Name="AutoRemark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="ChangedByEmployee" Type="Employee" Accessor="Optional" Direction="In" />
<Property Name="DateOfChange" Type="UltimoDateTime?" Accessor="Optional" Direction="In" />
<Property Name="IsDefect" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="IsFeatureToggleProgressStatusEquipmentEnabled" Type="Boolean" Accessor="Optional" Direction="In" />
<Property Name="Location" Type="Location" Accessor="Optional" Direction="In" />
<Property Name="NewProgressStatus" Type="ProgressStatus" Accessor="Optional" Direction="In" />
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Optional" Direction="In" />
<Property Name="Remark" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="ToWhere" Type="UltimoString" Accessor="Optional" Direction="In" />
<Property Name="Vendor" Type="Vendor" Accessor="Optional" Direction="In" />
<Property Name="Warehouse" Type="Warehouse" Accessor="Optional" Direction="In" />
<Property Name="NonUpdatedEquipmentList" Type="List[Equipment]" Accessor="Optional" Direction="InOut" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Command Name="ProcessFunction_BuildOutExchangePart" CommandName="ProcessFunction_BuildOutExchangePart">
<Parameter Name="ExchangePart" Direction="In" Value="${Equipment}" />
<Parameter Name="IsDefect" Direction="In" Value="${IsDefect}" />
<Parameter Name="Location" Direction="In" Value="${Location}" />
<Parameter Name="MoveToProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="RemovalDate" Direction="In" Value="${DateOfChange}" />
<Parameter Name="RemovedBy" Direction="In" Value="${ChangedByEmployee}" />
<Parameter Name="ToLocation" Direction="In" Value="=${ToWhere} == Location" />
<Parameter Name="ToVendor" Direction="In" Value="=${ToWhere} == Vendor" />
<Parameter Name="ToWarehouse" Direction="In" Value="=${ToWhere} == Warehouse" />
<Parameter Name="Vendor" Direction="In" Value="${Vendor}" />
<Parameter Name="Warehouse" Direction="In" Value="${Warehouse}" />
</Command>
<When Name="When not moved to another fleet number" Condition="${ProcessFunction} == Empty">
<Choose Name="Check if exchange part is indicated (in dialog) to be defect or available">
<When Name="When indicated to be defect" Condition="${IsDefect} == True">
<When Name="When status is not already defect" Condition="${Equipment.Status} != EquipmentStatus.ExchangeDefect">
<Choose Name="Choose FeatureToggle enabled/disabled">
<When Name="When FeatureToggle enabled and new progress status is provided" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == True && ${NewProgressStatus} != Empty">
<When Name="When AutoRemark is present" Condition="${AutoRemark} != Empty">
<Assign Name="Append AutoRemark to Remark" Property="${Remark}" Value="=${Remark} != Empty ? #concat(${Remark}, '<BR>', ${AutoRemark}) : ${AutoRemark}" />
<Assign Name="Reset AutoRemark" Property="${AutoRemark}" Value="Empty" />
</When>
<WorkflowCall Name="Equipment_ChangeProgressStatus" WorkflowName="Equipment_ChangeProgressStatus">
<Parameter Name="CurrentProgressStatus" Direction="In" Value="${Equipment.ProgressStatus}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<When Name="When FeatureToggle disabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == False">
<ChangeStatus Name="Change status to defect" DomainObject="${Equipment}" NewStatus="EquipmentStatus.ExchangeDefect" />
</When>
</Choose>
</When>
</When>
<Otherwise Name="Otherwise, indicated to be available">
<When Name="When status is defect" Condition="${Equipment.Status} != EquipmentStatus.ExchangeUsable">
<Choose Name="Choose FeatureToggle enabled/disabled">
<When Name="hen FeatureToggle enabled and new progress status is provided" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == True && ${NewProgressStatus} != Empty">
<When Name="When AutoRemark is present" Condition="${AutoRemark} != Empty">
<Assign Name="Append AutoRemark to Remark" Property="${Remark}" Value="=${Remark} != Empty ? #concat(${Remark}, '<BR>', ${AutoRemark}) : ${AutoRemark}" />
<Assign Name="Reset AutoRemark" Property="${AutoRemark}" Value="Empty" />
</When>
<WorkflowCall Name="Equipment_ChangeProgressStatus" WorkflowName="Equipment_ChangeProgressStatus">
<Parameter Name="CurrentProgressStatus" Direction="In" Value="${Equipment.ProgressStatus}" />
<Parameter Name="Equipment" Direction="In" Value="${Equipment}" />
<Parameter Name="NewProgressStatus" Direction="In" Value="${NewProgressStatus}" />
<Parameter Name="Remark" Direction="In" Value="${Remark}" />
<Parameter Name="NonUpdatedEquipmentList" Direction="Out" OutputProperty="${NonUpdatedEquipmentList}" />
</WorkflowCall>
</When>
<When Name="When FeatureToggle disabled" Condition="${IsFeatureToggleProgressStatusEquipmentEnabled} == False">
<ChangeStatus Name="Change status to usable" DomainObject="${Equipment}" NewStatus="EquipmentStatus.ExchangeUsable" />
</When>
</Choose>
</When>
</Otherwise>
</Choose>
</When>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>