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

ActionField985

Beschrijving: Link an existing Change to Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
SelectionListConfiguration String Optional

XMLbewerken

<Workflow Name="ActionField985" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Link an existing Change to Job.</Description>
	<Properties>
		<Property	Name="Job"							Type="Job"		Accessor="Root"		Direction="In" />

		<Property	Name="SelectionListConfiguration"	Type="String"	Accessor="Optional"	Direction="In"		Comment="Changes in CollectInput are shown with this SelectionListConfiguration" />

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

		<Validation Name="Validate not linked" Condition="${Job.Change} == Empty" MessageCode="1883">
			<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
		</Validation>

		<Dialog Name="SelectChangeDialog" TitleCode="SELECTCHG">
			<Container>
				<SelectionList Name="Change" OutputProperty="${Change}" ColumnName="ChgId" ViewfieldConfiguration="${SelectionListConfiguration}" Required="True" SqlWhereClause="ChgRecStatus &lt; '1024' and ChgRecStatus != '16'" />
			</Container>
		</Dialog>

		<Transaction>
			<WorkflowCall Name="Job_CopyChange" WorkflowName="Job_CopyChange">
				<Parameter	Name="Change"	Direction="In"		Value="${Change}" />
				<Parameter	Name="Job"		Direction="In"		Value="${Job}" />
			</WorkflowCall>
		</Transaction>

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