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

ActionField1139

Beschrijving: Delete PaymentTransaction (status must be Incomplete). Custom: Nee

Propertiesbewerken

Property Type Accessor
PaymentTransaction PaymentTransaction Root

XMLbewerken

<Workflow Name="ActionField1139" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Delete PaymentTransaction (status must be Incomplete).</Description>
	<Properties>
		<Property	Name="PaymentTransaction"		Type="PaymentTransaction"		Accessor="Root"		Direction="In" />

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

		<Assign Name="Set PaymentTransactionRun" Property="${PaymentTransactionRun}" Value="${PaymentTransaction.PaymentTransactionRun}" />

		<Transaction>
			<Validation Name="StatusTransactionIsNotIncomplete" Condition="${PaymentTransaction.Status} == PaymentTransactionStatus.Incomplete" MessageCode="2247">
				<Parameter	Name="PaymentTransaction"	Direction="In"		Value="${PaymentTransaction}" />
			</Validation>

			<DeleteObject Name="Delete the transaction" DomainObject="${PaymentTransaction}" />
		</Transaction>

		<When Name="Is ther ea run?" Condition="${PaymentTransactionRun} != Empty">
			<WorkflowCall Name="PaymentTransactionRun_ValidateRun" WorkflowName="PaymentTransactionRun_ValidateRun">
				<Parameter	Name="PaymentTransactionRun"	Direction="In"		Value="${PaymentTransactionRun}" />
			</WorkflowCall>
		</When>

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