Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield238
ActionField238
Beschrijving: Change the status of the job from Requested to Created. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
XMLbewerken
<Workflow Name="ActionField238" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change the status of the job from Requested to Created.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="OriginalJobScheduledStartDate" Type="DateTime?" Accessor="Internal" Comment="To detect if the ScheduledStartDate has been changed." />
<Property Name="OriginalJobSLATargetDate" Type="DateTime?" Accessor="Internal" Comment="To detect if the SLA TargetDate has been changed." />
<Property Name="OriginalJobTargetDate" Type="DateTime?" Accessor="Internal" Comment="To detect if the TargetDate has been changed." />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Validation Name="ValidateJobStatus" Condition="${Job.Status} == JobStatus.Requested" MessageCode="0266">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Validation>
<ChangeStatus Name="ChangeJobStatusToCreated" DomainObject="${Job}" NewStatus="JobStatus.Created" />
</Transaction>
<Assign Name="OriginalJobScheduledStartDate" Property="${OriginalJobScheduledStartDate}" Value="${Job.ScheduledStartDate}" />
<Assign Name="OriginalJobTargetDate" Property="${OriginalJobTargetDate}" Value="${Job.TargetDate}" />
<Assign Name="OriginalJobSLATargetDate" Property="${OriginalJobSLATargetDate}" Value="${Job.ServiceContractTargetFinishedDate}" />
<WorkflowCall Name="Job_SetPlanningDatesBySLA" WorkflowName="Job_SetPlanningDatesBySLA">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</WorkflowCall>
<When Name="if no relevant servicelevel found, set planning fields from priority" Condition="${Job.ServiceLevel} == Empty || (${Job.ServiceLevel.ScheduledStartTimeQuantity} == 0 && #{UltimoSettings.TargetDateFromSlaToJob} == False)">
<WorkflowCall Name="Job_SetPlanningDatesByPriority" WorkflowName="Job_SetPlanningDatesByPriority">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</WorkflowCall>
</When>
<WorkflowCall Name="Job_WarnIfStartOrTargetDateIsInThePast" WorkflowName="Job_WarnIfStartOrTargetDateIsInThePast">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="OriginalJobScheduledStartDate" Direction="In" Value="${OriginalJobScheduledStartDate}" />
<Parameter Name="OriginalJobTargetDate" Direction="In" Value="${OriginalJobTargetDate}" />
</WorkflowCall>
<WorkflowCall Name="Job_WarnIfTargetDateIsPastSLATargetDate" WorkflowName="Job_WarnIfTargetDateIsPastSLATargetDate">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="OriginalJobSLATargetDate" Direction="In" Value="${OriginalJobSLATargetDate}" />
<Parameter Name="OriginalJobTargetDate" Direction="In" Value="${OriginalJobTargetDate}" />
</WorkflowCall>
<UserContent Name="Post" />
<Message Name="ummJOBOPENED" MessageCode="0267">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Message>
</Execution>
</Workflow>