Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield644
ActionField644
Beschrijving: Change participation of an Employee in the RosterGroup. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RosterGroupEntries | List[RosterGroupEntry] | Required |
XMLbewerken
<Workflow Name="ActionField644" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change participation of an Employee in the RosterGroup.</Description>
<Properties>
<Property Name="RosterGroupEntries" Type="List[RosterGroupEntry]" Accessor="Required" Direction="In" />
<Property Name="Delete" Type="Boolean" Accessor="Internal" />
<Property Name="EndDate" Type="Date" Accessor="Internal" />
<Property Name="RosterGroupEntry" Type="RosterGroupEntry" Accessor="Internal" />
<Property Name="StartDate" Type="Date" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="ChangeParticipationInRosterGroupDialog" WorkflowName="Dialog_ChangeParticipationInRosterGroup">
<Parameter Name="RosterGroupEntries" Direction="In" Value="${RosterGroupEntries}" />
<Parameter Name="Delete" Direction="Out" OutputProperty="${Delete}" />
<Parameter Name="EndDate" Direction="Out" OutputProperty="${EndDate}" />
<Parameter Name="RosterGroupEntry" Direction="Out" OutputProperty="${RosterGroupEntry}" />
<Parameter Name="StartDate" Direction="Out" OutputProperty="${StartDate}" />
</WorkflowCall>
<Assign Name="Add one day to make until date inclusive" Property="${EndDate}" Value="=#adddays(${EndDate}, 1)" />
<Transaction>
<Choose Name="Delete entry or edit entry">
<When Name="Delete is true" Condition="${Delete} == True">
<Command Name="Remove rostergroupentry" CommandName="RosterGroup_RemoveEmployee">
<Parameter Name="Employee" Direction="In" Value="${RosterGroupEntry.Employee}" />
<Parameter Name="EndDate" Direction="In" Value="=#setdatetime(${EndDate}, 0, 0)" />
<Parameter Name="RosterGroup" Direction="In" Value="${RosterGroupEntry.RosterGroup}" />
<Parameter Name="StartDate" Direction="In" Value="=#setdatetime(${StartDate}, 0, 0)" />
</Command>
</When>
<Otherwise Name="Delete is false">
<Command Name="Edit rostergroupentry" CommandName="RosterGroup_EditEmployee">
<Parameter Name="EndDate" Direction="In" Value="=#setdatetime(${EndDate}, 0, 0)" />
<Parameter Name="RosterGroupEntry" Direction="In" Value="${RosterGroupEntry}" />
<Parameter Name="StartDate" Direction="In" Value="=#setdatetime(${StartDate}, 0, 0)" />
</Command>
</Otherwise>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>