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

ActionField720

Beschrijving: Create new Job for ObjectInspectionLine.SafetyDossier Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectInspectionLine ObjectInspectionLine Root
ContextToSet Context Optional
ExistingProgressStatusToSet ProgressStatus Optional
ShowAllServiceDeskReportTypes Boolean Optional
UseServiceDeskReportType Boolean Optional

XMLbewerken

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

		<Property	Name="ContextToSet"						Type="Context"				Accessor="Optional"	Direction="In"						Comment="When UseServiceDeskReportType is False, create the Job with this context" />
		<Property	Name="ExistingProgressStatusToSet"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When UseServiceDeskReportType is False, create the Job with this status" />
		<Property	Name="ShowAllServiceDeskReportTypes"	Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"	Comment="When false, show only ServiceDeskReportTypes with UseInSafetyDossier = true" />
		<Property	Name="UseServiceDeskReportType"			Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"	Comment="Choose ServiceDeskReportType via collectinput or Context + ProgressStatus" />

		<Property	Name="CreatedJob"						Type="Job"					Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="SafetyDossier_CreateNewJob" WorkflowName="SafetyDossier_CreateNewJob">
			<Parameter	Name="ContextToSet"						Direction="In"		Value="${ContextToSet}" />
			<Parameter	Name="ExistingProgressStatusToSet"		Direction="In"		Value="${ExistingProgressStatusToSet}" />
			<Parameter	Name="SafetyDossier"					Direction="In"		Value="${ObjectInspectionLine.SafetyDossier}" />
			<Parameter	Name="ShowAllServiceDeskReportTypes"	Direction="In"		Value="${ShowAllServiceDeskReportTypes}" />
			<Parameter	Name="UseServiceDeskReportType"			Direction="In"		Value="${UseServiceDeskReportType}" />
			<Parameter	Name="CreatedJob"						Direction="Out"														OutputProperty="${CreatedJob}" />
		</WorkflowCall>

		<Transaction>
			<Assign Name="Assign InspectionLine Job" Property="${CreatedJob.InspectionLine}" Value="${ObjectInspectionLine}" />
		</Transaction>

		<Transaction>
			<Assign Name="Assign Number of jobs" Property="${ObjectInspectionLine.NumberOfJobs}" Value="${ObjectInspectionLine.Jobs.Count}" />
		</Transaction>

		<UserContent Name="Post" />

		<WorkflowCall Name="Job_OpenCustomOrDefaultScreen" WorkflowName="Job_OpenCustomOrDefaultScreen">
			<Parameter	Name="Job"	Direction="In"		Value="${CreatedJob}" />
		</WorkflowCall>
	</Execution>
</Workflow>