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

ActionField1546

Beschrijving: Explanations given for this job and Change the (progress)status. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
Explanation String Optional
ExtraFieldsToCopy List[String] Optional

XMLbewerken

<Workflow Name="ActionField1546" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Explanations given for this job and Change the (progress)status.</Description>
	<Properties>
		<Property	Name="Job"					Type="Job"				Accessor="Root"		Direction="In" />

		<Property	Name="Explanation"			Type="String"			Accessor="Optional"	Direction="In" />
		<Property	Name="ExtraFieldsToCopy"	Type="List[String]"		Accessor="Optional"	Direction="In"														Comment="Indicate additional columns to be copied" />

		<Property	Name="FollowUpJob"			Type="Job"				Accessor="Internal" />
		<Property	Name="IsFollowUpJob"		Type="RequestResult?"	Accessor="Internal" />
		<Property	Name="ScreenName"			Type="String"			Accessor="Internal"						Default="job101" />
		<Property	Name="SLAFieldsToCopy"		Type="List[String]"		Accessor="Internal"						Default="JobEqmtId,JobWotId,JobPriId,JobImpId"	Comment="Comma-separated list with standard fields to be copied on the new job for SLA" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Job_SetExplanation" WorkflowName="Job_SetExplanation">
			<Parameter	Name="Explanation"			Direction="In"		Value="${Explanation}" />
			<Parameter	Name="ExtraFieldsToCopy"	Direction="In"		Value="${ExtraFieldsToCopy}" />
			<Parameter	Name="Job"					Direction="In"		Value="${Job}" />
			<Parameter	Name="SLAFieldsToCopy"		Direction="In"		Value="${SLAFieldsToCopy}" />
			<Parameter	Name="FollowUpJob"			Direction="Out"										OutputProperty="${FollowUpJob}" />
			<Parameter	Name="IsFollowUpJob"		Direction="Out"										OutputProperty="${IsFollowUpJob}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<Comment><![CDATA[ you can get here either when IsFollowUpJob == True or when it is Empty. If its is Empty, this means that there already is a follow
			up job and that it should be opened, or that a follow up job has just been made and that it should be opened or that a follow up job is
			not needed, in which case nothing should be done here]]></Comment>

		<When Name="check if follow up job has been identified" Condition="${FollowUpJob} != Empty">
			<Choose Name="New job or not">
				<When Name="new job" Condition="${IsFollowUpJob} == Yes">
					<View Name="OpenScreen" ViewName="DataEntryScreen">
						<Parameter	Name="DomainObject"			Direction="In"		Value="${FollowUpJob}" />
						<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${FollowUpJob.Description} == Empty" />
						<Parameter	Name="ScreenName"			Direction="In"		Value="${ScreenName}" />
					</View>
				</When>

				<Otherwise Name="no new job">
					<View Name="OpenScreen" ViewName="DataEntryScreen">
						<Parameter	Name="DomainObject"	Direction="In"		Value="${FollowUpJob}" />
						<Parameter	Name="ScreenName"	Direction="In"		Value="${ScreenName}" />
					</View>
				</Otherwise>
			</Choose>
		</When>
	</Execution>
</Workflow>