-
Notifications
You must be signed in to change notification settings - Fork 0
Planning Workflow
Planning Workflows are Workflows that are used as Planning Destinations in the Master Workflow. They have to fulfill special requirements:
- Their input must be empty or equal to the Execution Destination's input.
- Their output must be of type Scheduler Information (xprc.xsched.SchedulerInformation in Standard Application Processing).
The Service xprc.xpce.OrderControlService.createSchedulerInformation can be used to create a SchedulerInformation object containing the capacities configured for the current Order Type.
The Planning Destination can be set via this CLI-Command: <syntaxhighlight lang="bash"></syntaxhighlight> ./xynafactory.sh setdestination -destinationKey <arg></arg> -destinationValue <arg></arg> -dispatcherName <arg></arg> -workspaceName <arg> </syntaxhighlight></arg>
Argument | Explanation | Example |
---|---|---|
destinationKey | The Order Type to use new destiantion for (Execution Destination) | xact.NewWorkflow |
destinationValue | Planning Workflow | DefaultPlanning, xact.planning.PlanNewWorkflow |
dispatcherName | Name of the Dispatcher | Planning, Execution, Cleanup |
workspaceName | Name of the corresponding workspace. If you want to refer to an application, you have to use the arguments applicationName and versionName instead | "default workspace" |
With <syntaxhighlight lang="bash"> ./xynafactory.sh listdestinations --applicationName -dispatcherName -versionName -workspaceName </syntaxhighlight> it is possible to retrieve Planning Destinations for Order Types.
Alternatively, you can set the Planning Workflow in the Xyna Factory Manager in the section "Order Types" in the details view of an Order Type: Set Planning Workflow
Planning Workflows are not displayed in the Order Overview table. However, subworkflows called by Planning Workflows are shown. Their Root Id matches the Id of the Execution Destination.