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

ActionField1568

Beschrijving: Copy Job.KnowledgeTopic.ServiceDeskReportType to Job.ServiceDeskReportType 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="ActionField1568" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Copy Job.KnowledgeTopic.ServiceDeskReportType to Job.ServiceDeskReportType</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"		Default="1"													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"		Default="Description,ReportText"							Comment="Property or properties (Description,ReportText,EquipmentType,Text) to search in table KnowledgeTopic. Required if setting KnowledgeTopicSearchShowDialog is not DoNotSearch" />

		<Property	Name="KnowledgeTopics"			Type="List[KnowledgeTopic]"	Accessor="Internal"																					Comment="Return the found KnowledgeTopics" />
		<Property	Name="ShowMessage"				Type="Boolean"				Accessor="Internal"						Default="False" />
	</Properties>
	<Settings>
		<SettingsGroup Name="Job">
			<Setting	Name="SearchContext"	Type="Context" />
			<Setting	Name="SearchDomain"		Type="UltimoString" />
			<Setting	Name="SearchProperties"	Type="UltimoString" />
		</SettingsGroup>
	</Settings>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="AllowChangeServiceDeskReportType" Condition="${Job.AllowChangeServiceDeskReportType} ">
			<WorkflowCall Name="Job_UseKnowledgeTopicServiceDesk" WorkflowName="Job_UseKnowledgeTopicServiceDesk">
				<Parameter	Name="Job"			Direction="In"		Value="${Job}" />
				<Parameter	Name="ShowMessage"	Direction="Out"						OutputProperty="${ShowMessage}" />
			</WorkflowCall>
		</When>

		<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}" />
			<Parameter	Name="KnowledgeTopics"			Direction="Out"											OutputProperty="${KnowledgeTopics}" />
		</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>