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

ActionField1672

Beschrijving: Validate MAC-adres (may only exits once) in table MacAddress.MadCode. Custom: Nee

Propertiesbewerken

Property Type Accessor
MacAddress MacAddress Root

XMLbewerken

<Workflow Name="ActionField1672" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Validate MAC-adres (may only exits once) in table MacAddress.MadCode.</Description>
	<Properties>
		<Property	Name="MacAddress"	Type="MacAddress"	Accessor="Root"		Direction="In" />

		<Property	Name="Count"		Type="Int64"		Accessor="Internal"						Default="0" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<GetCount Name="Count" Type="MacAddress" OutputProperty="${Count}">
				<Filters>
					<PropertyFilter	PropertyName="Code"	Operator="="		PropertyValue="${MacAddress.Code}" />
				</Filters>
			</GetCount>

			<When Name="MAC-adres exits more then once" Condition="${Count} &gt; 1">
				<Assign Name="Clear MacAddress code" Property="${MacAddress.Code}" Value="Empty" />
			</When>
		</Transaction>

		<When Name="MAC-adres exits more then once" Condition="${Count} &gt; 1">
			<Message Name="MacAddress is Emptied" MessageCode="3221">
				<Parameter	Name="MacAddress"	Direction="In"		Value="${MacAddress}" />
			</Message>
		</When>

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