Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1140
ActionField1140
Beschrijving: Search Jobs for WorkOrderSchedule with ProgressStatus given in property WorkOrderScheduleJobProgressStatusId. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WorkOrderSchedule | WorkOrderSchedule | Root |
| JobContextToSearch | List[Context] | Optional |
| SetPrintJob | Boolean | Optional |
| WorkOrderScheduleJobProgressStatusId | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField1140" 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 ProgressStatus given in property WorkOrderScheduleJobProgressStatusId.</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="WorkOrderScheduleJobProgressStatusId" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Set PrsId for default desired ProgressStatus when searching Jobs" />
<Property Name="ProgressStatusesCount" Type="Int64" Accessor="Internal" />
<Property Name="WorkOrderScheduleJobProgressStatus" Type="ProgressStatus?" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetCount Name="Count number of progress statuses added as filter" Type="WorkOrderScheduleProgressStatus" OutputProperty="${ProgressStatusesCount}">
<Filters>
<PropertyFilter PropertyName="Id.WorkOrderSchedule" Operator="=" PropertyValue="${WorkOrderSchedule}" />
</Filters>
</GetCount>
<When Name="When Id for default desired progress status was given" Condition="${WorkOrderScheduleJobProgressStatusId} != Empty">
<GetItem Name="Try to get default desired progress status" Type="ProgressStatus" OutputProperty="${WorkOrderScheduleJobProgressStatus}">
<Filters>
<PropertyFilter PropertyName="Id" Operator="=" PropertyValue="${WorkOrderScheduleJobProgressStatusId}" />
</Filters>
</GetItem>
<Validation Name="ValidateProgressStatusFound" Condition="${WorkOrderScheduleJobProgressStatus} != Empty" MessageCode="2257">
<Parameter Name="ProgressStatusId" Direction="In" Value="${WorkOrderScheduleJobProgressStatusId}" />
</Validation>
</When>
</Transaction>
<Validation Name="ValidateProgressStatusAdded" Condition="${ProgressStatusesCount} > 0" MessageCode="2253" />
<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="WorkOrderSchedule" Direction="In" Value="${WorkOrderSchedule}" />
<Parameter Name="WorkOrderScheduleJobProgressStatus" Direction="In" Value="${WorkOrderScheduleJobProgressStatus}" />
<Parameter Name="WorkOrderScheduleJobStatus" Direction="In" Value="WorkOrderScheduleJobStatus.None" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>