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

ActionField459

Beschrijving: Send Job to another backoffice (ServiceDeskReportType.SetContext). Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
ConditionFlawPresentContext Context Optional
DefaultServiceDeskReportType ServiceDeskReportType Optional
GenerateSubJobs Boolean Optional
IncidentContext Context Optional
RedirectOnComplete Boolean Optional
RedirectView RedirectViewOptions Optional
ResetStatusCreatedReportDate Boolean Optional
UseProgressStatus Boolean Optional
ConditionFlawPresent ConditionFlawPresent Optional

XMLbewerken

<Workflow Name="ActionField459" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Send Job to another backoffice (ServiceDeskReportType.SetContext).</Description>
	<Properties>
		<Property	Name="Job"							Type="Job"						Accessor="Root"		Direction="In" />

		<Property	Name="ConditionFlawPresentContext"	Type="Context"					Accessor="Optional"	Direction="In"															Comment="Create ConditionFlawPresent with this context" />
		<Property	Name="DefaultServiceDeskReportType"	Type="ServiceDeskReportType"	Accessor="Optional"	Direction="In"		Default="Empty"										Comment="Change Job ServiceDeskReportType to this ServiceDeskReportType" />
		<Property	Name="GenerateSubJobs"				Type="Boolean"					Accessor="Optional"	Direction="In"		Default="False"										Comment="Generate SubJobs " />
		<Property	Name="IncidentContext"				Type="Context"					Accessor="Optional"	Direction="In"		Default="1"											Comment="Create Incident with this context" />
		<Property	Name="RedirectOnComplete"			Type="Boolean"					Accessor="Optional"	Direction="In"		Default="True"										Comment="When redirect is successful then open another screen" />
		<Property	Name="RedirectView"					Type="RedirectViewOptions"		Accessor="Optional"	Direction="In"		Default="Home"										Comment="When no Incident or ConditionFlawPresent is created go to 'Home' or go 'Back'." />
		<Property	Name="ResetStatusCreatedReportDate"	Type="Boolean"					Accessor="Optional"	Direction="In"		Default="False"										Comment="Reset StatusCreatedReportDate to CurrentDateTime" />
		<Property	Name="UseProgressStatus"			Type="Boolean"					Accessor="Optional"	Direction="In"		Default="True"										Comment="Change status via ProgressStatus status" />

		<Property	Name="ConditionFlawPresent"			Type="ConditionFlawPresent"		Accessor="Optional"	Direction="InOut" />

		<Property	Name="Incident"						Type="Incident"					Accessor="Internal" />
		<Property	Name="SendingSelfServiceRequest"	Type="Boolean"					Accessor="Internal"						Default="=${Job.Context} == JobContext.SelfService"	Comment="Sending a self service request" />
	</Properties>
	<Settings>
		<SettingsGroup Name="Job">
			<Setting	Name="ShowMessageWaitingForMaterial"	Type="Boolean"	Value="False"	Comment="Deprecated, replaced by ShowMessageMaterialInStockIndicator (#1099249, #1094345)" />
		</SettingsGroup>
	</Settings>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Job_SendToAnotherBackoffice" WorkflowName="Job_SendToAnotherBackoffice">
			<Parameter	Name="ConditionFlawPresentContext"	Direction="In"		Value="${ConditionFlawPresentContext}" />
			<Parameter	Name="DefaultServiceDeskReportType"	Direction="In"		Value="${DefaultServiceDeskReportType}" />
			<Parameter	Name="GenerateSubJobs"				Direction="In"		Value="${GenerateSubJobs}" />
			<Parameter	Name="IncidentContext"				Direction="In"		Value="${IncidentContext}" />
			<Parameter	Name="Job"							Direction="In"		Value="${Job}" />
			<Parameter	Name="ResetStatusCreatedReportDate"	Direction="In"		Value="${ResetStatusCreatedReportDate}" />
			<Parameter	Name="UseProgressStatus"			Direction="In"		Value="${UseProgressStatus}" />
			<Parameter	Name="ConditionFlawPresent"			Direction="InOut"	Value="${ConditionFlawPresent}"			OutputProperty="${ConditionFlawPresent}" />
			<Parameter	Name="Incident"						Direction="Out"												OutputProperty="${Incident}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<When Name="Only look for sending toast message when not sending a self service request" Condition="${SendingSelfServiceRequest} == False" Comment="most likely send via job18 or job320">
			<WorkflowCall Name="Job_UseStockProgressStatus_ShowToastMessageMaterialInStock" WorkflowName="Job_UseStockProgressStatus_ShowToastMessageMaterialInStock">
				<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
			</WorkflowCall>
		</When>

		<When Name="Redirect is enabled" Condition="${RedirectOnComplete} == True">
			<Choose Name="Check Job.ServiceDeskReportType has screenname">
				<When Name="Created Incident" Condition="${Incident} != Empty">
					<View Name="OpenScreen Incident" ViewName="DataEntryScreen">
						<Parameter	Name="DomainObject"			Direction="In"		Value="${Incident}" />
						<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${Incident.Description} == Empty" />
					</View>
				</When>


				<When Name="Created ConditionFlawPresent" Condition="${ConditionFlawPresent} != Empty">
					<View Name="OpenScreen ConditionFlawPresent" ViewName="DataEntryScreen">
						<Parameter	Name="DomainObject"			Direction="In"		Value="${ConditionFlawPresent}" />
						<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${ConditionFlawPresent.Description} == Empty" />
					</View>
				</When>

				<Otherwise Name="Return to SelfService">
					<When Name="Check if RedirectView is home" Condition="${RedirectView} == Home">
						<View Name="Go home" ViewName="Home" />
					</When>

					<When Name="Check if RedirectView is back" Condition="${RedirectView} == Back">
						<View Name="Back" ViewName="Back">
							<Parameter	Name="ShowLast"	Direction="In"		Value="1" />
						</View>
					</When>
				</Otherwise>
			</Choose>
		</When>
	</Execution>
</Workflow>