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

ActionField792

Beschrijving: Set Activate to all PickLists of PickListRun. Custom: Nee

Propertiesbewerken

Property Type Accessor
PickListRun PickListRun Root
Activate Boolean Optional

XMLbewerken

<Workflow Name="ActionField792" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Set Activate to all PickLists of PickListRun.</Description>
	<Properties>
		<Property	Name="PickListRun"	Type="PickListRun"		Accessor="Root"		Direction="In" />

		<Property	Name="Activate"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"	Comment="Set all to Activate or not" />

		<Property	Name="PickLists"	Type="List[PickList]"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<GetList Name="Get PickLists" Type="PickList" OutputProperty="${PickLists}" OrderBy="Id" OrderDirection="Ascending">
				<Filters>
					<PropertyFilter	PropertyName="PickListRun"	Operator="="		PropertyValue="${PickListRun}" />
				</Filters>
			</GetList>

			<ForEach Name="PickList" In="${PickLists}" As="PickList">
				<Assign Name="Set Activate" Property="${PickList.Activate}" Value="${Activate}" />
			</ForEach>
		</Transaction>

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