Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield612
ActionField612
Beschrijving: Delete Job(Incident). Show a message containing the number of reports for this Job(Incident). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
XMLbewerken
<Workflow Name="ActionField612" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Delete Job(Incident). Show a message containing the number of reports for this Job(Incident).</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="AnswerDeleteIncident" Type="Boolean" Accessor="Internal" Default="False" />
<Property Name="Count" Type="Int64" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Command Name="CheckReportEquipment" CommandName="Job_CheckReportEquipment">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="Count" Direction="Out" OutputProperty="${Count}" />
</Command>
</Transaction>
<UserContent Name="Post" />
<When Name="CheckCount » CountIsGreaterThanZero" Condition="${Count} > 0">
<Question Name="AskDeleteIncidents" Type="YesNo" MessageCode="0909" Default="Yes" OutputProperty="${AnswerDeleteIncident}">
<Parameter Name="Count" Direction="In" Value="${Count}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Question>
<Transaction>
<When Name="DeleteCurrentIncident » AnswerIsYes" Condition="${AnswerDeleteIncident} == True">
<DeleteObject Name="DeleteIncident" DomainObject="${Job}" />
</When>
</Transaction>
</When>
</Execution>
</Workflow>