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

ActionField1758

Beschrijving: Navigate back to the correct screen (SafetyIncident, Change, ProductDossier, MeetingTopic, FieldSafetyNotice). Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
EntityName String Required

XMLbewerken

<Workflow Name="ActionField1758" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Navigate back to the correct screen (SafetyIncident, Change, ProductDossier, MeetingTopic, FieldSafetyNotice).</Description>
	<Properties>
		<Property	Name="Job"			Type="Job"			Accessor="Root"		Direction="In" />

		<Property	Name="EntityName"	Type="String"		Accessor="Required"	Direction="In"		Comment="Property used to determine the correct screen that should be opened, the value for this property is set on job176/177." />

		<Property	Name="DomainObject"	Type="DomainObject"	Accessor="Internal" />
		<Property	Name="Label"		Type="String"		Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="Get label for description" CommandName="GetLabel">
				<Parameter	Name="LabelCode"	Direction="In"		Value="DESCRIPTION" />
				<Parameter	Name="LabelValue"	Direction="Out"							OutputProperty="${Label}" />
			</Command>
		</Transaction>

		<Validation Name="ValidateDescriptionNotEmpty" Condition="${Job.Description} != Empty" MessageCode="3182">
			<Parameter	Name="FieldLabel"	Direction="In"		Value="${Label}" />
		</Validation>

		<Choose>
			<When Condition="${EntityName} == SafetyIncident">
				<Assign Property="${DomainObject}" Value="${Job.SafetyIncident}" />
			</When>


			<When Condition="${EntityName} == Change">
				<Assign Property="${DomainObject}" Value="${Job.Change}" />
			</When>


			<When Condition="${EntityName} == ProductDossier">
				<Assign Property="${DomainObject}" Value="${Job.ProductDossier}" />
			</When>


			<When Condition="${EntityName} == Meeting">
				<Assign Property="${DomainObject}" Value="${Job.MeetingTopic.Meeting}" />
			</When>


			<When Condition="${EntityName} == FieldSafetyNotice">
				<Assign Property="${DomainObject}" Value="${Job.FieldSafetyNotice}" />
			</When>
		</Choose>

		<UserContent Name="Post" />

		<WorkflowCall Name="Open DomainObject in screen" WorkflowName="DomainObject_OpenScreen">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${DomainObject}" />
		</WorkflowCall>
	</Execution>
</Workflow>