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

ActionField229

Beschrijving: Create Jobs with status Active for PmSchedule. Custom: Nee

Propertiesbewerken

Property Type Accessor
PmSchedule PmSchedule Root
JobContext Context Optional
PmJobCourseRouteContexts List[Context] Optional
PurchaseRequestLineContext Context Optional
PurchaseRequestLineStatus Status Optional
PurchaseRequestStatus Status Optional
WorkOrderContext Context Optional

XMLbewerken

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

		<Property	Name="JobContext"					Type="Context"			Accessor="Optional"	Direction="In"		Default="JobContext.TD"																				Comment="Create the Job with this context" />
		<Property	Name="PmJobCourseRouteContexts"		Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="PmJobContext.CourseRoute,PmJobContext.BuildingCourseRoute,PmJobContext.InfraCourseRoute"	Comment="Context to determine if it must be a courseroute Job" />
		<Property	Name="PurchaseRequestLineContext"	Type="Context"			Accessor="Optional"	Direction="In"		Default="PurchaseRequestLineContext.Standard"														Comment="Create the PurchaseRequestLine with this context" />
		<Property	Name="PurchaseRequestLineStatus"	Type="Status"			Accessor="Optional"	Direction="In"		Default="PurchaseRequestLineStatus.Requested"														Comment="Create the PurchaseRequestLine with this status" />
		<Property	Name="PurchaseRequestStatus"		Type="Status"			Accessor="Optional"	Direction="In"		Default="0"																							Comment="Set this status to the copied PurchaseRequest." />
		<Property	Name="WorkOrderContext"				Type="Context"			Accessor="Optional"	Direction="In"		Default="WorkOrderContext.Standard"																	Comment="Create the WorkOrder with this context" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Create jobs for pmschedule" WorkflowName="PmSchedule_CreateJobs">
			<Parameter	Name="ActivateJob"					Direction="In"		Value="True" />
			<Parameter	Name="JobContext"					Direction="In"		Value="${JobContext}" />
			<Parameter	Name="PmJobCourseRouteContexts"		Direction="In"		Value="${PmJobCourseRouteContexts}" />
			<Parameter	Name="PmSchedule"					Direction="In"		Value="${PmSchedule}" />
			<Parameter	Name="PurchaseRequestLineContext"	Direction="In"		Value="${PurchaseRequestLineContext}" />
			<Parameter	Name="PurchaseRequestLineStatus"	Direction="In"		Value="${PurchaseRequestLineStatus}" />
			<Parameter	Name="PurchaseRequestStatus"		Direction="In"		Value="${PurchaseRequestStatus}" />
			<Parameter	Name="WorkOrderContext"				Direction="In"		Value="${WorkOrderContext}" />
		</WorkflowCall>

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