Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield307
ActionField307
Beschrijving: Create a Job with status Approved for the ProcessFunction. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ProcessFunction | ProcessFunction | Root |
| ElementContext | Context | Optional |
| EquipmentContext | Context | Optional |
| FormName | UltimoString | Optional |
| JobContext | Context | Optional |
| ProcessFunctionContext | Context | Optional |
XMLbewerken
<Workflow Name="ActionField307" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a Job with status Approved for the ProcessFunction.</Description>
<Properties>
<Property Name="ProcessFunction" Type="ProcessFunction" Accessor="Root" Direction="In" />
<Property Name="ElementContext" Type="Context" Accessor="Optional" Direction="In" Default="-1" Comment="When not -1 then an element can be choosen" />
<Property Name="EquipmentContext" Type="Context" Accessor="Optional" Direction="In" Default="1" Comment="Not in Use" />
<Property Name="FormName" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Open this screen with the created Job" />
<Property Name="JobContext" Type="Context" Accessor="Optional" Direction="In" Default="1" Comment="Create Job with this context" />
<Property Name="ProcessFunctionContext" Type="Context" Accessor="Optional" Direction="In" Default="1" Comment="Not in use" />
<Property Name="Job" Type="Job" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="ValidateUseWorkOrder" Condition="#{UltimoSettings.UseWorkOrder} == False" MessageCode="0229" />
<WorkflowCall Name="ProcessFunction_CreateJob" WorkflowName="ProcessFunction_CreateJob">
<Parameter Name="ElementContext" Direction="In" Value="${ElementContext}" />
<Parameter Name="EquipmentContext" Direction="In" Value="${EquipmentContext}" />
<Parameter Name="FormName" Direction="In" Value="${FormName}" />
<Parameter Name="JobContext" Direction="In" Value="${JobContext}" />
<Parameter Name="JobCreateMethod" Direction="In" Value="CreateApproved" />
<Parameter Name="JobStatus" Direction="In" Value="JobStatus.Approved" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ProcessFunction}" />
<Parameter Name="ProcessFunctionContext" Direction="In" Value="${ProcessFunctionContext}" />
<Parameter Name="CreatedJob" Direction="Out" OutputProperty="${Job}" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>