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

ActionField1924

Beschrijving: Validates that the selected why is the lowest level in order to be marked as a root cause. Custom: Nee

Propertiesbewerken

Property Type Accessor
CausalFactor CausalFactor Root

XMLbewerken

<Workflow Name="ActionField1924" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Validates that the selected why is the lowest level in order to be marked as a root cause.</Description>
	<Properties>
		<Property	Name="CausalFactor"		Type="CausalFactor"	Accessor="Root"		Direction="In" />

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

		<WorkflowCall Name="Fetch child why count for selected why" WorkflowName="CausalFactor_GetChildWhyCount">
			<Parameter	Name="CausalFactor"		Direction="In"		Value="${CausalFactor}" />
			<Parameter	Name="ChildWhyCount"	Direction="Out"								OutputProperty="${ChildWhyCount}" />
		</WorkflowCall>

		<When Name="Check if rollback is needed" Condition="${ChildWhyCount} != 0">
			<Transaction>
				<Toggle Name="RollBack IsRootCause" Property="${CausalFactor.IsRootCause}" />
			</Transaction>
		</When>

		<Validation Name="Validate selected why is the lowest level why" Condition="${ChildWhyCount} == 0" MessageCode="3992" />

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