Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield124
ActionField124
Beschrijving: Search Jobs for WorkOrderSchedule with status Approved or Postponed. Create WorkOrderScheduleJob with status Active. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WorkOrderSchedule | WorkOrderSchedule | Root |
| JobContextToSearch | List[Context] | Optional |
| SetPrintJob | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField124" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Search Jobs for WorkOrderSchedule with status Approved or Postponed. Create WorkOrderScheduleJob with status Active.</Description>
<Properties>
<Property Name="WorkOrderSchedule" Type="WorkOrderSchedule" Accessor="Root" Direction="In" />
<Property Name="JobContextToSearch" Type="List[Context]" Accessor="Optional" Direction="In" Default="JobContext.TD" Comment="Search only Jobs with these contexts" />
<Property Name="SetPrintJob" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Set to False to clear the PrintJob property on the Jobs found" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="Schedule jobs" WorkflowName="WorkOrderSchedule_SearchJobs">
<Parameter Name="JobContextToSearch" Direction="In" Value="${JobContextToSearch}" />
<Parameter Name="RecalculateCapacity" Direction="In" Value="True" />
<Parameter Name="SetPrintJob" Direction="In" Value="${SetPrintJob}" />
<Parameter Name="Statuses" Direction="In" Value="=JobStatus.Approved,JobStatus.Postponed" />
<Parameter Name="WorkOrderSchedule" Direction="In" Value="${WorkOrderSchedule}" />
<Parameter Name="WorkOrderScheduleJobStatus" Direction="In" Value="WorkOrderScheduleJobStatus.Active" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>