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

ActionField1207

Beschrijving: Update the CadLayers in the database by retrieving a list of all unique (by uppercased name) CAD layers from all current CAD documents. Custom: Nee

XMLbewerken

<Workflow Name="ActionField1207" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Update the CadLayers in the database by retrieving a list of all unique (by uppercased name) CAD layers from all current CAD documents.</Description>
	<Properties>
		<Property	Name="NewUniqueLayers"				Type="List[CadLayer]"	Accessor="Internal" />
		<Property	Name="NumberOfUniqueLayersFound"	Type="Int32"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<ContinuationQuestion Name="UpdateLayersInTheDatabase?" MessageCode="2494" />

		<Transaction>
			<Command Name="Update CAD layers in the database" CommandName="CadDocument_UpdateLayersInDatabase">
				<Parameter	Name="NewUniqueLayers"				Direction="Out"		OutputProperty="${NewUniqueLayers}" />
				<Parameter	Name="NumberOfUniqueLayersFound"	Direction="Out"		OutputProperty="${NumberOfUniqueLayersFound}" />
			</Command>
		</Transaction>

		<Message Name="MessageImportSuccessful" MessageCode="2495">
			<Parameter	Name="NumberOfNewUniqueLayersFound"	Direction="In"		Value="${NewUniqueLayers.Count}" />
			<Parameter	Name="NumberOfUniqueLayersFound"	Direction="In"		Value="${NumberOfUniqueLayersFound}" />
		</Message>

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