Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1557
ActionField1557
Beschrijving: Creates a copy of the selected Permit. Custom: Nee
XMLbewerken
<Workflow Name="ActionField1557" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Creates a copy of the selected Permit.</Description>
<Properties>
<Property Name="CreatedPermit" Type="Permit" Accessor="Internal" />
<Property Name="InitialProgressStatus" Type="ProgressStatus" Accessor="Internal" />
<Property Name="Permit" Type="Permit" Accessor="Internal" />
<Property Name="WhereClause" Type="String" Accessor="Internal" Default="PermContext = 2 AND PermRecStatus = 128" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<SystemDialog Name="SelectDomainObject" DialogName="SelectDomainObject">
<Parameter Name="EntityName" Direction="In" Value="Permit" />
<Parameter Name="SelectionListConfiguration" Direction="In" Value="WV-SJABLOON" />
<Parameter Name="SqlWhereClause" Direction="In" Value="${WhereClause}" />
<Parameter Name="DomainObject" Direction="Out" OutputProperty="${Permit}" />
</SystemDialog>
<Transaction>
<Command Name="Permit_CopyFromTemplate" CommandName="Permit_CopyFromTemplate">
<Parameter Name="Template" Direction="In" Value="${Permit}" />
<Parameter Name="CreatedPermit" Direction="Out" OutputProperty="${CreatedPermit}" />
</Command>
<When Name="Setting Permit.InitialProgressStatus enabled" Condition="#settingenabled(${CreatedPermit}, Permit.InitialProgressStatus) == True">
<Assign Name="Set InitialProgressStatus" Property="${InitialProgressStatus}" Value="=#getsetting(${CreatedPermit}, Permit.InitialProgressStatus)" />
</When>
<WorkflowCall Name="Permit_Initialize" WorkflowName="Permit_Initialize">
<Parameter Name="InitialProgressStatus" Direction="In" Value="${InitialProgressStatus}" />
<Parameter Name="Permit" Direction="In" Value="${CreatedPermit}" />
</WorkflowCall>
</Transaction>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${CreatedPermit}" />
<Parameter Name="FocusEditableField" Direction="In" Value="=${CreatedPermit.Description} == Empty" />
</View>
</Execution>
</Workflow>