Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield557

ActionField557

Beschrijving: Delete Employee from RosterGroup. Custom: Nee

Propertiesbewerken

Property Type Accessor
Employee Employee Root
EndDate DateTime? Optional
StartDate DateTime? Optional

XMLbewerken

<Workflow Name="ActionField557" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Delete Employee from RosterGroup.</Description>
	<Properties>
		<Property	Name="Employee"		Type="Employee"		Accessor="Root"		Direction="In" />

		<Property	Name="EndDate"		Type="DateTime?"	Accessor="Optional"	Direction="In"		Comment="Delete Employee from RosterGroup till this date. When Empty no selection will be made on EndDate" />
		<Property	Name="StartDate"	Type="DateTime?"	Accessor="Optional"	Direction="In"		Comment="Delete Employee from RosterGroup from this date. When Empty no selection will be made on StartDate" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="Remove employee from rostergroup" CommandName="RosterGroup_RemoveEmployee">
				<Parameter	Name="Employee"		Direction="In"		Value="${Employee}" />
				<Parameter	Name="EndDate"		Direction="In"		Value="${EndDate}" />
				<Parameter	Name="StartDate"	Direction="In"		Value="${StartDate}" />
			</Command>

			<Command Name="Recalculate EmployeeLabourDatelines" CommandName="TimeReservation_RecalculateAllEmployeeLabourDatelines" Comment="Restore TimeReservations after deleting TimeReservation.">
				<Parameter	Name="Employee"		Direction="In"		Value="${Employee}" />
				<Parameter	Name="EndDate"		Direction="In"		Value="${EndDate}" />
				<Parameter	Name="StartDate"	Direction="In"		Value="${StartDate}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="Done" MessageCode="0903">
			<Parameter	Name="Employee"	Direction="In"		Value="${Employee}" />
		</Message>
	</Execution>
</Workflow>