Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield476
ActionField476
Beschrijving: Copy ProcessFunctionOperations from PmJob.Processfunction to PmJobOperationLoss (for Infra). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| PmJob | PmJob | Root |
XMLbewerken
<Workflow Name="ActionField476" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copy ProcessFunctionOperations from PmJob.Processfunction to PmJobOperationLoss (for Infra).</Description>
<Properties>
<Property Name="PmJob" Type="PmJob" Accessor="Root" Direction="In" />
<Property Name="DeleteFunctionLoss" Type="RequestResult" Accessor="Internal" />
<Property Name="PmJobOperationLossList" Type="List[PmJobOperationLoss]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get old operationloss" Type="PmJobOperationLoss" OutputProperty="${PmJobOperationLossList}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="Id.PmJob" Operator="=" PropertyValue="${PmJob}" />
</Filters>
</GetList>
</Transaction>
<When Name="Has FunctionLoss" Condition="${PmJobOperationLossList} != Empty">
<Question Name="Ask Delete FunctionLoss" Type="YesNoCancel" MessageCode="1219" Default="Cancel" OutputProperty="${DeleteFunctionLoss}">
<Parameter Name="PmJob" Direction="In" Value="${PmJob}" />
</Question>
</When>
<Transaction>
<When Name="Delete is yes" Condition="${DeleteFunctionLoss} == Yes">
<ForEach Name="Foreach old operationLoss" In="${PmJobOperationLossList}" As="PmJobOperationLoss">
<DeleteObject Name="Delete the operationloss" DomainObject="${PmJobOperationLoss}" />
</ForEach>
</When>
<WorkflowCall Name="Copy operation loss for PmJob" WorkflowName="PmJob_CopyOperationLoss">
<Parameter Name="PmJob" Direction="In" Value="${PmJob}" />
</WorkflowCall>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>