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

ActionField1197

Beschrijving: Create a continuation job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
ExtraFieldsToCopy List[String] Optional
FormName UltimoString Optional
JobContext Context Optional
NewProgressStatus ProgressStatus Optional
OpenJobScreen Boolean Optional
StopFieldsToCopy List[String] Optional
NewJob Job Optional

XMLbewerken

<Workflow Name="ActionField1197" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create a continuation job.</Description>
	<Properties>
		<Property	Name="Job"					Type="Job"				Accessor="Root"		Direction="In" />

		<Property	Name="ExtraFieldsToCopy"	Type="List[String]"		Accessor="Optional"	Direction="In"																													Comment="Comma-separated list with additional columns to be copied to the new job" />
		<Property	Name="FormName"				Type="UltimoString"		Accessor="Optional"	Direction="In"																													Comment="Open the created Job in this screen" />
		<Property	Name="JobContext"			Type="Context"			Accessor="Optional"	Direction="In"		Default="${Job.Context}"																					Comment="Create the Job with this Context" />
		<Property	Name="NewProgressStatus"	Type="ProgressStatus"	Accessor="Optional"	Direction="In"		Default="060"																								Comment="Change status of the created Job to the status of this progressStatus (Default: Progressstatus Open, Status Created)" />
		<Property	Name="OpenJobScreen"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"																								Comment="Open a screen with the created Job" />
		<Property	Name="StopFieldsToCopy"		Type="List[String]"		Accessor="Optional"	Direction="In"		Default="jobwotid"																							Comment="Comma-separated list with additional columns to be copied to the new job. ‌This property is an addition to ExtraFieldsToCopy and is introduced during the development of Stops (Projects) . This property contains fields related to stop projects" />

		<Property	Name="NewJob"				Type="Job"				Accessor="Optional"	Direction="Out"																													Comment="Output property for the created continuation job" />

		<Property	Name="AllowedJobStatuses"	Type="List[Status]"		Accessor="Internal"						Default="JobStatus.Created, JobStatus.Approved, JobStatus.Active, JobStatus.Postponed, JobStatus.Finished" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Job_ReportContinuationJob" WorkflowName="Job_ReportContinuationJob">
			<Parameter	Name="AllowedJobStatuses"		Direction="In"		Value="${AllowedJobStatuses}" />
			<Parameter	Name="BackOffice"				Direction="In"		Value="${Job.BackOffice}" />
			<Parameter	Name="ExtraFieldsToCopy"		Direction="In"		Value="${ExtraFieldsToCopy}" />
			<Parameter	Name="Job"						Direction="In"		Value="${Job}" />
			<Parameter	Name="JobContext"				Direction="In"		Value="${JobContext}" />
			<Parameter	Name="NewProgressStatus"		Direction="In"		Value="${NewProgressStatus}" />
			<Parameter	Name="ServiceDeskReportType"	Direction="In"		Value="${Job.ServiceDeskReportType}" />
			<Parameter	Name="StopFieldsToCopy"			Direction="In"		Value="${StopFieldsToCopy}" />
			<Parameter	Name="NewJob"					Direction="Out"												OutputProperty="${NewJob}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<Choose Name="CheckOpenScreen">
			<When Name="ScreenOpen" Condition="${OpenJobScreen} == True">
				<View Name="OpenScreen" ViewName="DataEntryScreen">
					<Parameter	Name="DomainObject"			Direction="In"		Value="${NewJob}" />
					<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${NewJob.Description} == Empty" />
					<Parameter	Name="ScreenName"			Direction="In"		Value="${FormName}" />
				</View>
			</When>

			<Otherwise Name="NoOpenJobScreen">
				<Message Name="MSG New Job" MessageCode="0781">
					<Parameter	Name="Job"	Direction="In"		Value="${NewJob}" />
				</Message>
			</Otherwise>
		</Choose>
	</Execution>
</Workflow>