Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield032

ActionField032

Beschrijving: Create Job with status Created for WorkOrder. Custom: Nee

Propertiesbewerken

Property Type Accessor
WorkOrder WorkOrder Root
JobContext Context Optional

XMLbewerken

<Workflow Name="ActionField032" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create Job with status Created for WorkOrder.</Description>
	<Properties>
		<Property	Name="WorkOrder"	Type="WorkOrder"	Accessor="Root"		Direction="In" />

		<Property	Name="JobContext"	Type="Context"		Accessor="Optional"	Direction="In"		Comment="Create Job with this context" />

		<Property	Name="CreatedJob"	Type="Job"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<WorkflowCall Name="Job_CreateAndInitialize" WorkflowName="Job_CreateAndInitialize">
				<Parameter	Name="JobContext"		Direction="In"		Value="${JobContext}" />
				<Parameter	Name="JobCreateMethod"	Direction="In"		Value="CreateStandard" />
				<Parameter	Name="WorkOrder"		Direction="In"		Value="${WorkOrder}" />
				<Parameter	Name="Job"				Direction="Out"								OutputProperty="${CreatedJob}" />
			</WorkflowCall>
		</Transaction>

		<WorkflowCall Name="Job_WarnIfStartOrTargetDateIsInThePast" WorkflowName="Job_WarnIfStartOrTargetDateIsInThePast">
			<Parameter	Name="Job"	Direction="In"		Value="${CreatedJob}" />
		</WorkflowCall>

		<UserContent Name="Post" />
	</Execution>
</Workflow>