Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield296
ActionField296
Beschrijving: Create a Job with status Active for WorkOrder. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WorkOrder | WorkOrder | Root |
| ExtraFieldsToCopy | List[String] | Optional |
| FormName | UltimoString | Optional |
| JobContext | Context | Optional |
| ValidateProcessFunction | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField296" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a Job with status Active for WorkOrder.</Description>
<Properties>
<Property Name="WorkOrder" Type="WorkOrder" Accessor="Root" Direction="In" />
<Property Name="ExtraFieldsToCopy" Type="List[String]" Accessor="Optional" Direction="In" Comment="Indicate additional columns to be copied" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Open this screen with created Job" />
<Property Name="JobContext" Type="Context" Accessor="Optional" Direction="In" Comment="Create Job with this context" />
<Property Name="ValidateProcessFunction" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Validate that Wordorder has a ProcessFunction" />
<Property Name="CreatedJob" Type="Job" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="WorkOrder_CreateJob" WorkflowName="WorkOrder_CreateJob">
<Parameter Name="ExtraFieldsToCopy" Direction="In" Value="${ExtraFieldsToCopy}" />
<Parameter Name="JobContext" Direction="In" Value="${JobContext}" />
<Parameter Name="JobStatus" Direction="In" Value="JobStatus.Active" />
<Parameter Name="ValidateProcessFunction" Direction="In" Value="${ValidateProcessFunction}" />
<Parameter Name="WorkOrder" Direction="In" Value="${WorkOrder}" />
<Parameter Name="CreatedJob" Direction="Out" OutputProperty="${CreatedJob}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfStartOrTargetDateIsInThePast" WorkflowName="Job_WarnIfStartOrTargetDateIsInThePast">
<Parameter Name="Job" Direction="In" Value="${CreatedJob}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfTargetDateIsPastSLATargetDate" WorkflowName="Job_WarnIfTargetDateIsPastSLATargetDate">
<Parameter Name="Job" Direction="In" Value="${CreatedJob}" />
</WorkflowCall>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${CreatedJob}" />
<Parameter Name="FocusEditableField" Direction="In" Value="=${CreatedJob.Description} == Empty" />
<Parameter Name="ScreenName" Direction="In" Value="${FormName}" />
</View>
</Execution>
</Workflow>