Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1760
ActionField1760
Beschrijving: Modify leave(EmployeeLabourDateline) for Employee (jobplanner with dialog). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| TimeReservation | TimeReservation | Root |
| DeletedJobSchedulePartsIds | List[String] | Optional |
| DisconnectedJobIds | List[String] | Optional |
| ExistingJobScheduleParts | List[JobSchedulePart] | Optional |
XMLbewerken
<Workflow Name="ActionField1760" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Modify leave(EmployeeLabourDateline) for Employee (jobplanner with dialog).</Description>
<Properties>
<Property Name="TimeReservation" Type="TimeReservation" Accessor="Root" Direction="InOut" />
<Property Name="DeletedJobSchedulePartsIds" Type="List[String]" Accessor="Optional" Direction="Out" Comment="List with Ids of the deleted jobscheduleparts" />
<Property Name="DisconnectedJobIds" Type="List[String]" Accessor="Optional" Direction="Out" Comment="List with Ids of the deleted jobs" />
<Property Name="ExistingJobScheduleParts" Type="List[JobSchedulePart]" Accessor="Optional" Direction="Out" Comment="List with Ids of the existing jobscheduleparts" />
<Property Name="AllowTypeUpdate" Type="Boolean" Accessor="Internal" Default="True" Comment="Allow to edit the reason for leave" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="Check TimeReservationPattern" Condition="${TimeReservation.Pattern} == Empty" MessageCode="3503" Comment="It is not possible to schedule recursive leave" />
<WorkflowCall Name="TimeReservation_UpdateLeaveForEmployee" WorkflowName="TimeReservation_UpdateLeaveForEmployee">
<Parameter Name="AllowTypeUpdate" Direction="In" Value="${AllowTypeUpdate}" />
<Parameter Name="TimeReservation" Direction="InOut" Value="${TimeReservation}" OutputProperty="${TimeReservation}" />
<Parameter Name="DeletedJobIds" Direction="Out" OutputProperty="${DisconnectedJobIds}" />
<Parameter Name="DeletedJobSchedulePartsIds" Direction="Out" OutputProperty="${DeletedJobSchedulePartsIds}" />
</WorkflowCall>
<Transaction>
<GetList Name="Get existing JobScheduleParts" Type="JobSchedulePart" OutputProperty="${ExistingJobScheduleParts}" OrderBy="Id" OrderDirection="Ascending">
<Joins>
<Join Name="Job" Alias="job" Type="InnerJoin" />
</Joins>
<Filters>
<PropertyFilter PropertyName="Employee" Operator="=" PropertyValue="${TimeReservation.Employee}" />
<NotFilter>
<InFilter PropertyName="job.Status" Values="JobStatus.Completed,JobStatus.Finished,JobStatus.Closed" />
</NotFilter>
</Filters>
</GetList>
</Transaction>
<When Name="ScheduleMethod" Condition="#{Settings.GraphicOverviewJobScheduler.ScheduleMethod} == JobSequence && ${DisconnectedJobIds} != Empty && ${DisconnectedJobIds.Count} > 0">
<Message Name="Show deleted Jobs" MessageCode="3580">
<Parameter Name="JobIds" Direction="In" Value="${DisconnectedJobIds}" />
</Message>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>