Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield671
ActionField671
Beschrijving: Recalculate percentage of response time for jobs with SLA from ServiceContractResponseDate. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
XMLbewerken
<Workflow Name="ActionField671" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Recalculate percentage of response time for jobs with SLA from ServiceContractResponseDate.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="ServiceContractServiceLevel" Type="ServiceContractServiceLevel" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<When Name="check if service(contract) is set" Condition="${Job.ServiceLevelAgreementServiceContract} != Empty && ${Job.ServiceLevel.Id.Service?} != Empty">
<Choose Name="check if responsedate set">
<When Name="responsedate set" Condition="${Job.ServiceContractResponseDate} != Empty">
<GetItem Name="Get ServiceContractServiceLevel for job" Type="ServiceContractServiceLevel" OutputProperty="${ServiceContractServiceLevel}">
<Filters>
<CombinedFilter FilterOperator="And">
<InFilter PropertyName="Id" Values="${Job.ServiceLevelAgreementServiceContract.ServiceContractServiceLevels}" />
<PropertyFilter PropertyName="Id.ServiceLevel.Id.Service" Operator="=" PropertyValue="${Job.ServiceLevel.Id.Service}" />
</CombinedFilter>
</Filters>
</GetItem>
<Command Name="GetPercentageForCalendarTimeSpan" CommandName="GetPercentageForCalendarTimeSpan">
<Parameter Name="PercentageDate" Direction="In" Value="${Job.ServiceContractResponseDate}" />
<Parameter Name="RangeFromDate" Direction="In" Value="${Job.StatusCreatedReportDate}" />
<Parameter Name="RangeTillDate" Direction="In" Value="${Job.ServiceContractTargetResponseDate}" />
<Parameter Name="WorkSchedule" Direction="In" Value="${ServiceContractServiceLevel.Id.ServiceLevel.WorkSchedule}" />
<Parameter Name="Percentage" Direction="Out" OutputProperty="${Job.ServiceContractResponsePercentage}" />
</Command>
</When>
<Otherwise Name="response date not set">
<Assign Name="Clear response percentage" Property="${Job.ServiceContractResponsePercentage}" Value="Empty" />
</Otherwise>
</Choose>
<WorkflowCall Name="Job_RemoveRedundantJobNotifications" WorkflowName="Job_RemoveRedundantJobNotifications">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="RemoveFinishRecords" Direction="In" Value="False" />
</WorkflowCall>
</When>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>