Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield909

ActionField909

Beschrijving: Select KnowledgeDomain or KnowledgeTopic from KnowledgeTree dialog, and link selected KnowledgeTopic to Job. Copy KnowledgeTopic data to Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
SearchProperties List[UltimoString] Required
CopyDiagnosis Boolean Optional
CopyServiceDeskReportType Boolean Optional
CopySkillCategory Boolean Optional
CopyText Boolean Optional
ExplorerId System.Int32 Optional
ObjectDocumentsCopy Boolean Optional
SearchContext UltimoString Optional
SearchDomain UltimoString Optional

XMLbewerken

<Workflow Name="ActionField909" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Select KnowledgeDomain or KnowledgeTopic from KnowledgeTree dialog, and link selected KnowledgeTopic to Job. Copy KnowledgeTopic data to Job.</Description>
	<Properties>
		<Property	Name="Job"							Type="Job"					Accessor="Root"		Direction="In" />

		<Property	Name="SearchProperties"				Type="List[UltimoString]"	Accessor="Required"	Direction="In"									Comment="Property or properties (Description,ReportText,EquipmentType,Text) to search in table KnowledgeTopic" />

		<Property	Name="CopyDiagnosis"				Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"				Comment="Copy Diagnosis from KnowledgeTopic to Job" />
		<Property	Name="CopyServiceDeskReportType"	Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"				Comment="Copy ServiceDeskReportType from KnowledgeTopic to Job" />
		<Property	Name="CopySkillCategory"			Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"				Comment="Copy SkillCategory from KnowledgeTopic to Job" />
		<Property	Name="CopyText"						Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"				Comment="Copy Text from KnowledgeTopic to Job" />
		<Property	Name="ExplorerId"					Type="System.Int32"			Accessor="Optional"	Direction="In"		Default="8" />
		<Property	Name="ObjectDocumentsCopy"			Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"				Comment="When true, non-expired documents will be copied: No document will be copied" />
		<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="ShowMessage"					Type="Boolean"				Accessor="Internal"						Default="False" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Select KnowledgeDomain or KnowledgeTopic from KnowledgeTree dialog" WorkflowName="Job_KnowledgeTreeDialog">
			<Parameter	Name="CopyDiagnosis"				Direction="In"		Value="${CopyDiagnosis}" />
			<Parameter	Name="CopyServiceDeskReportType"	Direction="In"		Value="${CopyServiceDeskReportType}" />
			<Parameter	Name="CopySkillCategory"			Direction="In"		Value="${CopySkillCategory}" />
			<Parameter	Name="CopyText"						Direction="In"		Value="${CopyText}" />
			<Parameter	Name="ExplorerId"					Direction="In"		Value="${ExplorerId}" />
			<Parameter	Name="Job"							Direction="In"		Value="${Job}" />
			<Parameter	Name="ObjectDocumentsCopy"			Direction="In"		Value="${ObjectDocumentsCopy}" />
			<Parameter	Name="SearchContext"				Direction="In"		Value="${SearchContext}" />
			<Parameter	Name="SearchDomain"					Direction="In"		Value="${SearchDomain}" />
			<Parameter	Name="SearchProperties"				Direction="In"		Value="${SearchProperties}" />
			<Parameter	Name="ShowMessage"					Direction="Out"												OutputProperty="${ShowMessage}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<When Name="Documents Unlinked" Condition="${ShowMessage} == True">
			<Message Name="Documents Unlinked" MessageCode="2830">
				<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
			</Message>
		</When>
	</Execution>
</Workflow>