Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1177
ActionField1177
Beschrijving: Add a Job to a WorkOrder with context Stop. Can be used from screen or in the gantt view. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| WorkOrder | WorkOrder | Root |
| FormName | UltimoString | Optional |
| JobContext | Context | Optional |
| OpenScreen | Boolean | Optional |
| CreatedJob | Job | Optional |
XMLbewerken
<Workflow Name="ActionField1177" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Add a Job to a WorkOrder with context Stop. Can be used from screen or in the gantt view.</Description>
<Properties>
<Property Name="WorkOrder" Type="WorkOrder" Accessor="Root" Direction="In" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Open this screen with the created Job" />
<Property Name="JobContext" Type="Context" Accessor="Optional" Direction="In" Default="JobContext.TD" Comment="Create new Job with this context, can be updated in usercontent pre when in gantt" />
<Property Name="OpenScreen" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Open screen with created Job?" />
<Property Name="CreatedJob" Type="Job" Accessor="Optional" Direction="Out" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="Job_PlanForStop" WorkflowName="Job_PlanForStop">
<Parameter Name="JobContext" Direction="In" Value="${JobContext}" />
<Parameter Name="WorkOrder" Direction="In" Value="${WorkOrder}" />
<Parameter Name="Job" Direction="Out" OutputProperty="${CreatedJob}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfStartOrTargetDateIsInThePast" WorkflowName="Job_WarnIfStartOrTargetDateIsInThePast">
<Parameter Name="Job" Direction="In" Value="${CreatedJob}" />
</WorkflowCall>
<UserContent Name="Post" />
<When Name="OpenScreen" Condition="${OpenScreen} == True">
<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>
</When>
</Execution>
</Workflow>