Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1742
ActionField1742
Beschrijving: Validate status ProgressStatusFlow Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ProgressStatusFlow | ProgressStatusFlow | Root |
XMLbewerken
<Workflow Name="ActionField1742" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Validate status ProgressStatusFlow </Description>
<Properties>
<Property Name="ProgressStatusFlow" Type="ProgressStatusFlow" Accessor="Root" Direction="In" />
<Property Name="CustomerSatisfactionReceivedDefaultProgressStatusContext" Type="DefaultProgressStatusContext" Accessor="Internal" />
<Property Name="CustomerSatisfactionRequestedDefaultProgressStatusContext" Type="DefaultProgressStatusContext" Accessor="Internal" />
<Property Name="MessageNumber" Type="String" Accessor="Internal" />
<Property Name="ProgressStatusFlows" Type="List[ProgressStatusFlow]" Accessor="Internal" />
<Property Name="ProgressStatusForMessage" Type="ProgressStatus" Accessor="Internal" Comment="Parameter for message messagenumber" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="RequestCustomerSatisfaction is true" Condition="${ProgressStatusFlow.RequestCustomerSatisfaction} == true">
<Transaction>
<When Name="NextStatus is closed" Condition="${ProgressStatusFlow.Id.ProgressStatusNextAvailable.NextStatus} == JobStatus.Closed">
<GetItem Name="get CustomerSatisfactionRequestedProgressStatus DefaultProgressStatusContext" Type="DefaultProgressStatusContext" OutputProperty="${CustomerSatisfactionRequestedDefaultProgressStatusContext}">
<Filters>
<PropertyFilter PropertyName="CustomerSatisfactionRequestedProgressStatus" Operator="=" PropertyValue="${ProgressStatusFlow.Id.ProgressStatus}" />
</Filters>
</GetItem>
<When Name="CustomerSatisfactionRequestedProgressStatus DefaultProgressStatusContext is found" Condition="${CustomerSatisfactionRequestedDefaultProgressStatusContext} != Empty && ${CustomerSatisfactionRequestedDefaultProgressStatusContext.CustomerSatisfactionRequestedProgressStatus.NextStatus} != JobStatus.Closed">
<Assign Name="SetMessageNumer" Property="${MessageNumber}" Value="3493" />
<Assign Name="SetParameterForMessage" Property="${ProgressStatusForMessage}" Value="${CustomerSatisfactionRequestedDefaultProgressStatusContext.CustomerSatisfactionRequestedProgressStatus}" />
</When>
<GetItem Name="get CustomerSatisfactionReceivedProgressStatus DefaultProgressStatusContext" Type="DefaultProgressStatusContext" OutputProperty="${CustomerSatisfactionReceivedDefaultProgressStatusContext}">
<Filters>
<PropertyFilter PropertyName="CustomerSatisfactionReceivedProgressStatus" Operator="=" PropertyValue="${ProgressStatusFlow.Id.ProgressStatus}" />
</Filters>
</GetItem>
<When Name="CustomerSatisfactionReceivedProgressStatus DefaultProgressStatusContext is found" Condition="${CustomerSatisfactionReceivedDefaultProgressStatusContext} != Empty && ${CustomerSatisfactionReceivedDefaultProgressStatusContext.CustomerSatisfactionReceivedProgressStatus.NextStatus} != JobStatus.Closed">
<Assign Name="SetMessageNumer" Property="${MessageNumber}" Value="3493" />
<Assign Name="SetParameterForMessage" Property="${ProgressStatusForMessage}" Value="${CustomerSatisfactionReceivedDefaultProgressStatusContext.CustomerSatisfactionReceivedProgressStatus}" />
</When>
<When Name="ProgressStatusFlow.Id.ProgressStatusNextAvailable.NextStatus is closed and ProgressStatusFlow.Id.ProgressStatus.NextStatus is not closed" Condition="${ProgressStatusFlow.Id.ProgressStatus.NextStatus} != JobStatus.Closed && ${MessageNumber} == Empty ">
<Assign Name="SetMessageNumer" Property="${MessageNumber}" Value="3493" />
<Assign Name="SetParameterForMessage" Property="${ProgressStatusForMessage}" Value="${ProgressStatusFlow.Id.ProgressStatus}" />
</When>
</When>
</Transaction>
</When>
<Transaction>
<When Name="Action » Check if rollback is needed" Condition="${MessageNumber} != Empty">
<Toggle Name="RollBack RequestCustomerSatisfaction" Property="${ProgressStatusFlow.RequestCustomerSatisfaction}" />
</When>
</Transaction>
<UserContent Name="Post" />
<Choose Name="Check MessageNumber">
<When Name="3493" Condition="${MessageNumber} == 3493">
<Message Name="Status is not valid" MessageCode="3493">
<Parameter Name="ProgressStatus" Direction="In" Value="${ProgressStatusForMessage}" />
</Message>
</When>
</Choose>
</Execution>
</Workflow>