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

ActionField941

Beschrijving: Synchronize JobSchedulePart with Job and show a toast message to consider sending a notification. Executes when the job's assigned employee changes. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root

XMLbewerken

<Workflow Name="ActionField941" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Synchronize JobSchedulePart with Job and show a toast message to consider sending a notification. Executes when the job's assigned employee changes.</Description>
	<Properties>
		<Property	Name="Job"	Type="Job"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Job_WarnCompetences" WorkflowName="Job_WarnCompetences">
			<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
		</WorkflowCall>

		<Transaction>
			<WorkflowCall Name="Job_SynchronizeSingleJobSchedulePart" WorkflowName="Job_SynchronizeSingleJobSchedulePart">
				<Parameter	Name="ChangedEmployee"	Direction="In"		Value="True" />
				<Parameter	Name="Job"				Direction="In"		Value="${Job}" />
			</WorkflowCall>
		</Transaction>

		<When Name="When the job's employee is not empty now" Condition="${Job.Employee} != Empty">
			<WorkflowCall Name="Job_ShowToastConsiderSendingNotification" WorkflowName="Job_ShowToastConsiderSendingNotification">
				<Parameter	Name="HasEmployeeChanged"	Direction="In"		Value="True" />
				<Parameter	Name="Job"					Direction="In"		Value="${Job}" />
			</WorkflowCall>
		</When>

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