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

ActionField994

Beschrijving: Calculate RiskScore/RiskClass for DomainObject (ObjectRiskAnalysis,ObjectRiskAnalysisAspect). Custom: Nee

Propertiesbewerken

Property Type Accessor
DomainObject DomainObject Root
RiskContext Context Optional

XMLbewerken

<Workflow Name="ActionField994" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Calculate RiskScore/RiskClass for DomainObject (ObjectRiskAnalysis,ObjectRiskAnalysisAspect).</Description>
	<Properties>
		<Property	Name="DomainObject"	Type="DomainObject"	Accessor="Root"		Direction="In" />

		<Property	Name="RiskContext"	Type="Context"		Accessor="Optional"	Direction="In"		Default="RiskClassContext.HealthSafetyEnvironment"	Comment="Only find RiskClass with this context" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="ObjectRiskAnalysis" Condition="${DomainObject.EntityName} == ObjectRiskAnalysis &amp;&amp; ${DomainObject.Context} == ObjectRiskAnalysisContext.AssetCriticality">
			<Assign Name="Set RiskAnalysisMethod Method" Property="${RiskContext}" Value="RiskClassContext.AssetCriticality" />
		</When>

		<WorkflowCall Name="DomainObject_GetRiskClassForObjectRiskAnalysis" WorkflowName="DomainObject_GetRiskClassForObjectRiskAnalysis">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${DomainObject}" />
			<Parameter	Name="RiskContext"	Direction="In"		Value="${RiskContext}" />
		</WorkflowCall>

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