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

ActionField1829

Beschrijving: Expire document. Custom: Nee

Propertiesbewerken

Property Type Accessor
Document Document Root
AskToContinue Boolean Optional
ShowLastScreen Boolean Optional

XMLbewerken

<Workflow Name="ActionField1829" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Expire document.</Description>
	<Properties>
		<Property	Name="Document"			Type="Document"	Accessor="Root"		Direction="In" />

		<Property	Name="AskToContinue"	Type="Boolean"	Accessor="Optional"	Direction="In"		Default="False"	Comment="Ask question before changing status" />
		<Property	Name="ShowLastScreen"	Type="Boolean"	Accessor="Optional"	Direction="In"		Default="False"	Comment="ShowLast screen after changing status" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Check original" WorkflowName="Document_CheckOriginal">
			<Parameter	Name="Document"	Direction="In"		Value="${Document}" />
		</WorkflowCall>

		<WorkflowCall Name="DomainObject_ChangeStatus" WorkflowName="DomainObject_ChangeStatus">
			<Parameter	Name="AskToContinue"	Direction="In"		Value="${AskToContinue}" />
			<Parameter	Name="DomainObject"		Direction="In"		Value="${Document}" />
			<Parameter	Name="Status"			Direction="In"		Value="DocumentStatus.Expired" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<When Name="Show Last Screen" Condition="${ShowLastScreen} == True">
			<View Name="Back" ViewName="Back">
				<Parameter	Name="ShowLast"	Direction="In"		Value="1" />
			</View>
		</When>
	</Execution>
</Workflow>