Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield525
ActionField525
Beschrijving: Create new ConditionFlawPresent for Job. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
| CloseJob | Boolean | Optional |
| ConditionFlawPresentContext | Context | Optional |
| FormName | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField525" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create new ConditionFlawPresent for Job.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="CloseJob" Type="Boolean" Accessor="Optional" Direction="In" Comment="Change status of Job to Closed" />
<Property Name="ConditionFlawPresentContext" Type="Context" Accessor="Optional" Direction="In" Comment="Create ConditionFlawPresent with this context" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Open this screen with the created ConditionFlawPresent" />
<Property Name="ConditionFlawPresent" Type="ConditionFlawPresent" Accessor="Internal" />
<Property Name="ConditionFlawPresentCount" Type="Int64" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetCount Name="Get ConditionFlawPresent count" Type="ConditionFlawPresent" OutputProperty="${ConditionFlawPresentCount}">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="Status" Operator=">" PropertyValue="-1" />
<PropertyFilter PropertyName="Job" Operator="=" PropertyValue="${Job}" />
</CombinedFilter>
</Filters>
</GetCount>
<Validation Name="ValidateConditionFlawPresent" Condition="${ConditionFlawPresentCount} == 0" MessageCode="0750">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Validation>
<WorkflowCall Name="ConditionFlawPresent_Create" WorkflowName="ConditionFlawPresent_Create">
<Parameter Name="ConditionFlawPresentContext" Direction="In" Value="${ConditionFlawPresentContext}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="ConditionFlawPresent" Direction="Out" OutputProperty="${ConditionFlawPresent}" />
</WorkflowCall>
<When Name="Check CloseJob » CloseJobIsTrue" Condition="${CloseJob} == True">
<ChangeStatus Name="Close Job" DomainObject="${Job}" NewStatus="JobStatus.Closed" />
</When>
</Transaction>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${ConditionFlawPresent}" />
<Parameter Name="FocusEditableField" Direction="In" Value="=${ConditionFlawPresent.Description} == Empty" />
<Parameter Name="ScreenName" Direction="In" Value="${FormName}" />
</View>
</Execution>
</Workflow>