Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield610
ActionField610
Beschrijving: Change status of all RiskFactorScores, RiskFactors and RiskClasses with the given context to Created. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| RiskClassContext | Context? | Optional |
XMLbewerken
<Workflow Name="ActionField610" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of all RiskFactorScores, RiskFactors and RiskClasses with the given context to Created.</Description>
<Properties>
<Property Name="RiskClassContext" Type="Context?" Accessor="Optional" Direction="In" Comment="Only update records with this context" />
<Property Name="Answer" Type="RequestResult" Accessor="Internal" Default="Yes" />
<Property Name="RiskClassCount" Type="Int64" Accessor="Internal" Default="-1" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="ummRISKCLASS_VBS_FUNCTION_GETRISKCONTEXT_MISSING" Condition="${RiskClassContext} != Empty" MessageCode="0828" />
<Transaction>
<GetCount Name="Check count RiskClasses with context and status Approved" Type="RiskClass" OutputProperty="${RiskClassCount}" Comment="Check if there is are RiskClasses to be reopend">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="Context" Operator="=" PropertyValue="${RiskClassContext}" />
<PropertyFilter PropertyName="Status" Operator="=" PropertyValue="RiskClassStatus.Approved" />
</CombinedFilter>
</Filters>
</GetCount>
<Validation Name="ummRISKCLASS_NOT_FOUND_FOR_STATUS_CONTEXT" Condition="${RiskClassCount} > 0" MessageCode="0830">
<Parameter Name="RiskClassContext" Direction="In" Value="${RiskClassContext}" />
<Parameter Name="RiskClassStatus" Direction="In" Value="RiskClassStatus.Approved" />
</Validation>
</Transaction>
<When Name="When not AssetCriticality" Condition="${RiskClassContext} != RiskClassContext.AssetCriticality">
<Question Name="Reopen riskclass, Continue?" Type="YesNo" MessageCode="1504" Default="Yes" OutputProperty="${Answer}" />
</When>
<When Name="Answered Yes" Condition="${Answer} == Yes">
<WorkflowCall Name="Reopen RiskClass" WorkflowName="RiskClass_Reopen">
<Parameter Name="RiskClassContext" Direction="In" Value="${RiskClassContext}" />
</WorkflowCall>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>