Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield517
ActionField517
Beschrijving: Create new ConditionFlawPresent for Job/JobInspectionLine. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| DomainObject | DomainObject | Root |
| ConditionFlawPresentContext | Context | Optional |
| CreateWithJob | Boolean | Optional |
| FormName | UltimoString | Optional |
| ConditionFlawPresent | ConditionFlawPresent | Optional |
XMLbewerken
<Workflow Name="ActionField517" 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/JobInspectionLine.</Description>
<Properties>
<Property Name="DomainObject" Type="DomainObject" Accessor="Root" Direction="In" />
<Property Name="ConditionFlawPresentContext" Type="Context" Accessor="Optional" Direction="In" Comment="Create ConditionFlawPresent with this context" />
<Property Name="CreateWithJob" Type="Boolean" Accessor="Optional" Direction="In" Comment="Link ConditionFlawPresent to Job" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Open this screen with the created ConditionFlawPresent" />
<Property Name="ConditionFlawPresent" Type="ConditionFlawPresent" Accessor="Optional" Direction="Out" />
<Property Name="Job" Type="Job" Accessor="Internal" />
<Property Name="JobInspectionLine" Type="JobInspectionLine" Accessor="Internal" />
</Properties>
<Execution>
<Choose Name="Entity">
<When Name="Job" Condition="${DomainObject.EntityName} == Job">
<Assign Name="Set Job" Property="${Job}" Value="${DomainObject}" />
</When>
<When Name="JobInspectionLine" Condition="${DomainObject.EntityName} == JobInspectionLine">
<Assign Name="Set JobInspectionLine" Property="${JobInspectionLine}" Value="${DomainObject}" />
<Assign Name="Set Job" Property="${Job}" Value="${JobInspectionLine.Id.Job}" />
</When>
</Choose>
<UserContent Name="Pre" />
<Transaction>
<WorkflowCall Name="ConditionFlawPresent_Create" WorkflowName="ConditionFlawPresent_Create">
<Parameter Name="ConditionFlawPresentContext" Direction="In" Value="${ConditionFlawPresentContext}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="JobInspectionLine" Direction="In" Value="${JobInspectionLine}" />
<Parameter Name="SolveJob" Direction="In" Value="${CreateWithJob}" />
<Parameter Name="ConditionFlawPresent" Direction="Out" OutputProperty="${ConditionFlawPresent}" />
</WorkflowCall>
</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>