Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield992
ActionField992
Beschrijving: Create Job for SafetyIncident. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| SafetyIncident | SafetyIncident | Root |
| FormName | String | Optional |
| JobContext | Context | Optional |
XMLbewerken
<Workflow Name="ActionField992" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create Job for SafetyIncident.</Description>
<Properties>
<Property Name="SafetyIncident" Type="SafetyIncident" Accessor="Root" Direction="In" />
<Property Name="FormName" Type="String" Accessor="Optional" Direction="In" Comment="Open this screen with the created Job" />
<Property Name="JobContext" Type="Context" Accessor="Optional" Direction="In" Default="JobContext.TD" Comment="Create Job with this context" />
<Property Name="CreatedJob" Type="Job" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="Job_CreateAndInitialize" WorkflowName="Job_CreateAndInitialize">
<Parameter Name="JobContext" Direction="In" Value="${JobContext}" />
<Parameter Name="JobCreateMethod" Direction="In" Value="CreateStandard" />
<Parameter Name="Job" Direction="Out" OutputProperty="${CreatedJob}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfStartOrTargetDateIsInThePast" WorkflowName="Job_WarnIfStartOrTargetDateIsInThePast">
<Parameter Name="Job" Direction="In" Value="${CreatedJob}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfTargetDateIsPastSLATargetDate" WorkflowName="Job_WarnIfTargetDateIsPastSLATargetDate">
<Parameter Name="Job" Direction="In" Value="${CreatedJob}" />
</WorkflowCall>
<Transaction>
<Assign Name="Attach newly created job to SafetyIncident" Property="${CreatedJob.SafetyIncident}" Value="${SafetyIncident}" />
</Transaction>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${CreatedJob}" />
<Parameter Name="FocusEditableField" Direction="In" Value="=${CreatedJob.Description} == Empty" />
<Parameter Name="ScreenName" Direction="In" Value="${FormName}" />
</View>
</Execution>
</Workflow>