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

ActionField651

Beschrijving: Create KnowledgeTopic for Job. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
KnowledgeDomainSqlWhereClause String Optional
KnowledgeTopicContext Context Optional
KnowledgeTopicStatus Status Optional

XMLbewerken

<Workflow Name="ActionField651" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create KnowledgeTopic for Job.</Description>
	<Properties>
		<Property	Name="Job"								Type="Job"				Accessor="Root"		Direction="In" />

		<Property	Name="KnowledgeDomainSqlWhereClause"	Type="String"			Accessor="Optional"	Direction="In"												Comment="Not in use" />
		<Property	Name="KnowledgeTopicContext"			Type="Context"			Accessor="Optional"	Direction="In"		Default="KnowledgeTopicContext.Itil"	Comment="Create KnowledgeTopic with this context" />
		<Property	Name="KnowledgeTopicStatus"				Type="Status"			Accessor="Optional"	Direction="In"		Default="KnowledgeTopicStatus.Open"		Comment="Create KnowledgeTopic with this status" />

		<Property	Name="KnowledgeDomain"					Type="KnowledgeDomain"	Accessor="Internal" />
		<Property	Name="KnowledgeTopic"					Type="KnowledgeTopic"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Insert Name="Create KnowledgeTopic" ObjectType="KnowledgeTopic" OutputProperty="${KnowledgeTopic}">
				<Parameter	Name="Context"			Direction="In"		Value="${KnowledgeTopicContext}" />
				<Parameter	Name="Status"			Direction="In"		Value="${KnowledgeTopicStatus}" />
				<Parameter	Name="CreatedDate"		Direction="In"		Value="#{Environment.CurrentDateTime}" />
				<Parameter	Name="CreatedEmployee"	Direction="In"		Value="#{User.EmployeeId}" />
				<Parameter	Name="Job"				Direction="In"		Value="${Job}" />
				<Parameter	Name="SkillCategory"	Direction="In"		Value="${Job.SkillCategory}" />
			</Insert>

			<AssignText Name="Set Description" Property="${KnowledgeTopic.Description}" Value="${Job.Description}" />
			<AssignText Name="Set Diagnosis" Property="${KnowledgeTopic.Diagnosis}" Value="${Job.Text}" />
			<AssignText Name="Set TemplateText" Property="${KnowledgeTopic.TemplateText}" Value="${Job.FeedbackText}" />
			<AssignText Name="Set Text" Property="${KnowledgeTopic.Text}" Value="${Job.ReportText}" />

			<Assign Name="SetIdOffJobKnowledgeTopic" Property="${Job.KnowledgeTopic}" Value="${KnowledgeTopic}" />
		</Transaction>

		<UserContent Name="Post" />

		<View Name="Open KnowledgeTopic" ViewName="DataEntryScreen">
			<Parameter	Name="DomainObject"			Direction="In"		Value="${KnowledgeTopic}" />
			<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${KnowledgeTopic.Description} == Empty" />
		</View>
	</Execution>
</Workflow>