Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1598
ActionField1598
Beschrijving: Updates the job's planning dates by SLA and KnowledgeTopicCount when its equipment type changes. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
| AllowedNonITJobContexts | List[Context] | Optional |
| SearchContext | UltimoString | Optional |
| SearchDomain | UltimoString | Optional |
| SearchProperties | List[UltimoString] | Optional |
XMLbewerken
<Workflow Name="ActionField1598" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Updates the job's planning dates by SLA and KnowledgeTopicCount when its equipment type changes.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="AllowedNonITJobContexts" Type="List[Context]" Accessor="Optional" Direction="In" Default="JobContext.ServiceRequest, JobContext.ServiceDesk" Comment="Check if the job is a Non IT-Job with these contexts" />
<Property Name="SearchContext" Type="UltimoString" Accessor="Optional" Direction="In" Comment="Context to be used during the search of KnowledgeTopics" />
<Property Name="SearchDomain" Type="UltimoString" Accessor="Optional" Direction="In" Default="KnowledgeTopic" Comment="SearchDomain to search" />
<Property Name="SearchProperties" Type="List[UltimoString]" Accessor="Optional" Direction="In" Comment="Property or properties (Description,ReportText,EquipmentType,Text) to search in table KnowledgeTopic. Required if setting KnowledgeTopicSearchShowDialog is not DoNotSearch" />
<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>
<Comment><![CDATA[NOTE: when you make changes in this workflow it's most likely you also need to make them in ActionField1599.wfl in the case the Job.EquipmentType will change.]]></Comment>
<UserContent Name="Pre" />
<Comment><![CDATA[ Explicitly assigning values from the job guaranties these wf properties will keep their value in case they are changed on the job by the BL followed by displaying a user message.]]></Comment>
<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_ResetStructuredFailureDataFields" WorkflowName="Job_ResetStructuredFailureDataFields">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</WorkflowCall>
<WorkflowCall Name="Job_SetPlanningDatesBySLA" WorkflowName="Job_SetPlanningDatesBySLA">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</WorkflowCall>
<WorkflowCall Name="Job_SetKnowledgeTopicCount" WorkflowName="Job_SetKnowledgeTopicCount">
<Parameter Name="AllowedNonITJobContexts" Direction="In" Value="${AllowedNonITJobContexts}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="SearchContext" Direction="In" Value="${SearchContext}" />
<Parameter Name="SearchDomain" Direction="In" Value="${SearchDomain}" />
<Parameter Name="SearchProperties" Direction="In" Value="${SearchProperties}" />
</WorkflowCall>
<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>
<WorkflowCall Name="Job_InformUserInCaseOfMultipleJobScheduleParts" WorkflowName="Job_InformUserInCaseOfMultipleJobScheduleParts">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="OriginalJobScheduledStartDate" Direction="In" Value="${OriginalJobScheduledStartDate}" />
<Parameter Name="OriginalJobTargetDate" Direction="In" Value="${OriginalJobTargetDate}" />
</WorkflowCall>
<Comment><![CDATA[ If the job is already activated, copy checklist (InspectionPlanLines of the InspectionPlan linked to EquipmentType to JobInspectionLine).
The current checklist is deleted and re-added in Job_PreActivate.cs, so adding checklist before status Active is not useful. ]]></Comment>
<WorkflowCall Name="Create Check List Acceptation" WorkflowName="Job_CreateCheckListAcceptation">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</WorkflowCall>
<UserContent Name="Post" />
</Execution>
</Workflow>