Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield237
ActionField237
Beschrijving: Search Jobs for WorkOrderSchedule based on the selected search criteria (using record status). Create WorkOrderScheduleJob with status None. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WorkOrderSchedule | WorkOrderSchedule | Root |
| JobContextToSearch | List[Context] | Optional |
| SetPrintJob | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField237" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Search Jobs for WorkOrderSchedule based on the selected search criteria (using record status). Create WorkOrderScheduleJob with status None.</Description>
<Properties>
<Property Name="WorkOrderSchedule" Type="WorkOrderSchedule" Accessor="Root" Direction="In" />
<Property Name="JobContextToSearch" Type="List[Context]" Accessor="Optional" Direction="In" Comment="Search only Jobs with these contexts" />
<Property Name="SetPrintJob" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Set to True to set the PrintJob property on the Jobs found" />
<Property Name="Statuses" Type="List[Status]" Accessor="Internal" Comment="Search only Jobs with these Statuses" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Dialog Name="JobStatusDialog" TitleCode="CHOOSEJOBSTATUS">
<Container Border="True">
<CheckBoxGroup Name="StatusesWithComplete" Visible="True" OutputProperty="${Statuses}">
<Item Description="JOBSTATUS4" Value="JobStatus.Active" />
<Item Description="JOBSTATUS16" Value="JobStatus.Finished" />
<Item Description="JOBSTATUS8192" Value="JobStatus.Postponed" />
<Item Description="JOBSTATUS4096" Value="JobStatus.Completed" />
</CheckBoxGroup>
</Container>
</Dialog>
<Validation Name="Status(es) selected" Condition="${Statuses} != Empty" MessageCode="0449" />
<WorkflowCall Name="Schedule jobs" WorkflowName="WorkOrderSchedule_SearchJobs">
<Parameter Name="JobContextToSearch" Direction="In" Value="${JobContextToSearch}" />
<Parameter Name="RecalculateCapacity" Direction="In" Value="False" />
<Parameter Name="SetPrintJob" Direction="In" Value="${SetPrintJob}" />
<Parameter Name="Statuses" Direction="In" Value="${Statuses}" />
<Parameter Name="WorkOrderSchedule" Direction="In" Value="${WorkOrderSchedule}" />
<Parameter Name="WorkOrderScheduleJobStatus" Direction="In" Value="WorkOrderScheduleJobStatus.None" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>