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

ActionField1560

Beschrijving: Validate duplicate ServiceDeskReportTypes on ObjectServiceDeskReportType. Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectServiceDeskReportType ObjectServiceDeskReportType Root

XMLbewerken

<Workflow Name="ActionField1560" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Validate duplicate ServiceDeskReportTypes on ObjectServiceDeskReportType.</Description>
	<Properties>
		<Property	Name="ObjectServiceDeskReportType"	Type="ObjectServiceDeskReportType"	Accessor="Root"		Direction="In" />

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

		<Transaction>
			<Assign Name="Set ServiceDeskReportType" Property="${ServiceDeskReportType}" Value="${ObjectServiceDeskReportType.ServiceDeskReportType}" />

			<When Name="A Service Desk Report Type" Condition="${ServiceDeskReportType} != Empty">
				<Command Name="ObjectServiceDeskReportType_ValidateDuplications" CommandName="ObjectServiceDeskReportType_ValidateDuplications">
					<Parameter	Name="ObjectServiceDeskReportType"	Direction="In"		Value="${ObjectServiceDeskReportType}" />
					<Parameter	Name="DuplicateDomainObject"		Direction="Out"												OutputProperty="${DomainObject}" />
				</Command>
			</When>
		</Transaction>

		<UserContent Name="Post" />

		<When Name="Duplicate DomainObject" Condition="${DomainObject} != Empty">
			<Message Name="Duplicate" MessageCode="2860">
				<Parameter	Name="DomainObject"				Direction="In"		Value="${DomainObject}" />
				<Parameter	Name="ServiceDeskReportType"	Direction="In"		Value="${ServiceDeskReportType}" />
			</Message>
		</When>
	</Execution>
</Workflow>