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

ActionField1826

Beschrijving: Copy jobdescr to newtitle and jobtext to newbody. Custom: Nee

Propertiesbewerken

Property Type Accessor
News News Root

XMLbewerken

<Workflow Name="ActionField1826" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Copy jobdescr to newtitle and jobtext to newbody.</Description>
	<Properties>
		<Property	Name="News"	Type="News"			Accessor="Root"		Direction="In" />

		<Property	Name="Body"	Type="UltimoString"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="News has a job" Condition="${News.Job} != Empty ">
			<Transaction>
				<AssignText Name="Set News.Title" Property="${News.Title}" Value="${News.Job.Description}" />
				<Assign Name="Set News.Body" Property="${Body}" Value="=#htmltoplain(${News.Job.Text})" Comment="First convert from htmltoplain" />
				<AssignText Name="Set News.Body" Property="${News.Body}" Value="${Body}" Comment="Use Assign text for Multilingual" />
			</Transaction>
		</When>

		<UserContent Name="Post" />
	</Execution>
</Workflow>