Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield971
ActionField971
Beschrijving: Update Employee (when Empty) on ObjectConfirmation from ObjectConfirmationRole.Employee. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ObjectConfirmationRole | ObjectConfirmationRole | Root |
XMLbewerken
<Workflow Name="ActionField971" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Update Employee (when Empty) on ObjectConfirmation from ObjectConfirmationRole.Employee.</Description>
<Properties>
<Property Name="ObjectConfirmationRole" Type="ObjectConfirmationRole" Accessor="Root" Direction="In" />
<Property Name="ObjectConfirmations" Type="List[ObjectConfirmation]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get ObjectConfirmations" Type="ObjectConfirmation" OutputProperty="${ObjectConfirmations}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="ObjectConfirmationRole" Operator="=" PropertyValue="${ObjectConfirmationRole}" />
<CombinedFilter FilterOperator="Or">
<PropertyEmptyFilter PropertyName="Employee" />
<PropertyFilter PropertyName="Status" Operator="=" PropertyValue="ObjectConfirmationStatus.Created" />
</CombinedFilter>
</CombinedFilter>
</Filters>
</GetList>
<ForEach Name="ObjectConfirmation" In="${ObjectConfirmations}" As="ObjectConfirmation">
<Assign Name="Update Employee" Property="${ObjectConfirmation.Employee}" Value="${ObjectConfirmationRole.Employee}" />
</ForEach>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>