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

ActionField1027

Beschrijving: Add a remark to the ShiftLogLine and the CreatedMeetingTopic linked to this ShiftLogLine. Custom: Nee

Propertiesbewerken

Property Type Accessor
ShiftLogLine ShiftLogLine Root

XMLbewerken

<Workflow Name="ActionField1027" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Add a remark to the ShiftLogLine and the CreatedMeetingTopic linked to this ShiftLogLine.</Description>
	<Properties>
		<Property	Name="ShiftLogLine"		Type="ShiftLogLine"	Accessor="Root"		Direction="In" />

		<Property	Name="CurrentDateTime"	Type="String"		Accessor="Internal"						Default="=#concat(#formatdate(#{Environment.CurrentDateTime}, 'D', False), ' ', #formatdate(#{Environment.CurrentDateTime}, 'HH:mm', False))" />
		<Property	Name="CurrentUser"		Type="Employee"		Accessor="Internal"						Default="#{User.EmployeeId}" />
		<Property	Name="RemarkToAdd"		Type="UltimoString"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="ValidateMeetingTopicNotClosed" Condition="${ShiftLogLine.CreatedMeetingTopic.Status?} == MeetingTopicStatus.Open" MessageCode="1991" />

		<Dialog Name="DialogRemarkForMeetingTopic" TitleCode="REMARKTOPIC">
			<Container>
				<Html Name="Remark" OutputProperty="${RemarkToAdd}" Required="True" LabelCode="REMARK" />
			</Container>
		</Dialog>

		<Transaction>
			<Assign Name="AddRemarkToCreatedMeetingTopic" Property="${ShiftLogLine.CreatedMeetingTopic.Text}" Value="${ShiftLogLine.CreatedMeetingTopic.Text}&lt;BR&gt;&lt;BR&gt;#contextdescription_capital(${ShiftLogLine.ShiftLog}) ${ShiftLogLine.ShiftLog.Id} - ${ShiftLogLine.ShiftLog.Description} - ${CurrentUser.Description} ${CurrentDateTime}:&lt;BR&gt;${RemarkToAdd}" />
			<Assign Name="AddRemarkToShiftLogLine" Property="${ShiftLogLine.Text}" Value="${ShiftLogLine.Text}&lt;BR&gt;&lt;BR&gt;#contextdescription_capital(${ShiftLogLine.ShiftLog}) ${ShiftLogLine.ShiftLog.Id} - ${ShiftLogLine.ShiftLog.Description} - ${CurrentUser.Description} ${CurrentDateTime}:&lt;BR&gt;${RemarkToAdd}" />
		</Transaction>

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