Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield908
ActionField908
Beschrijving: Change status of KnowledgeTopic to Rejected. Ask reason to reject via collectinput. Perhaps also send an Email to SubmittedEmployee of the KnowledgeTopic. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| KnowledgeTopic | KnowledgeTopic | Root |
| EmailTemplateCode | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField908" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change status of KnowledgeTopic to Rejected. Ask reason to reject via collectinput. Perhaps also send an Email to SubmittedEmployee of the KnowledgeTopic.</Description>
<Properties>
<Property Name="KnowledgeTopic" Type="KnowledgeTopic" Accessor="Root" Direction="In" />
<Property Name="EmailTemplateCode" Type="UltimoString" Accessor="Optional" Direction="In" Default="00000000054" Comment="Use this EmailTemplate to Email Employee" />
<Property Name="Email" Type="Email" Accessor="Internal" />
<Property Name="Job" Type="Job" Accessor="Internal" />
<Property Name="JobScreen" Type="UltimoString" Accessor="Internal" Default="job35" />
<Property Name="RejectionReason" Type="UltimoString" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Dialog Name="AskRejectionReason" TitleCode="ASKREJECTREASON">
<Container>
<Html Name="UserInputRejectionReason" OutputProperty="${RejectionReason}" ColumnName="KNTREJECTIONREASON" Required="True" LabelCode="REJECTREASON" />
</Container>
</Dialog>
<Transaction>
<AssignText Name="Set rejection reason" Property="${KnowledgeTopic.RejectionReason}" Value="${RejectionReason}" />
<ChangeStatus Name="Set status to rejected" DomainObject="${KnowledgeTopic}" NewStatus="KnowledgeTopicStatus.Rejected" />
</Transaction>
<Choose Name="Check if EmailSender is set or not">
<When Name="EmailSender is set" Condition="#{UltimoSettings.EmailSender} != Empty">
<Transaction>
<Email Name="Mail" From="#{UltimoSettings.EmailSender}" To="${KnowledgeTopic.StatusSubmittedEmployee}" EmailTemplateCode="${EmailTemplateCode}" Concept="True" OutputProperty="${Email}">
<Parameters>
<Parameter Name="KnowledgeTopic" Direction="In" Value="${KnowledgeTopic}" />
</Parameters>
</Email>
<ChangeStatus Name="ChangeStatusEmail" DomainObject="${Email}" NewStatus="EmailStatus.Draft" />
</Transaction>
</When>
<Otherwise Name="Otherwise not set">
<Message Name="MessageEmailSenderEmpty" MessageCode="2036" />
</Otherwise>
</Choose>
<UserContent Name="Post" />
</Execution>
</Workflow>