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

ActionField914

Beschrijving: Create a Permit and add it to a Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root

XMLbewerken

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

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

		<WorkflowCall Name="Job_CreatePermit" WorkflowName="Job_CreatePermit">
			<Parameter	Name="Job"					Direction="In"		Value="${Job}" />
			<Parameter	Name="SelectPermitTemplate"	Direction="In"		Value="False" />
			<Parameter	Name="CreatedPermit"		Direction="Out"						OutputProperty="${CreatedPermit}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<When Name="Permit is created" Condition="${CreatedPermit} != Empty">
			<View Name="OpenScreen" ViewName="DataEntryScreen">
				<Parameter	Name="DomainObject"			Direction="In"		Value="${CreatedPermit}" />
				<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${CreatedPermit.Description} == Empty" />
			</View>
		</When>
	</Execution>
</Workflow>