-
Notifications
You must be signed in to change notification settings - Fork 0
Xyna Order
daniel edited this page Jul 3, 2024
·
1 revision
Xyna Orders are executed by the Processing Department of the Xyna Factory. The execution phases are described by the Master Workflow.
Xyna Orders
- typically execute modeled Workflows
- can be monitored in the Order Overview section in Xyna Process Monitor, if the Monitoring Level is high enough
- correspond to the Runtime Context defined by their Order Type
- can be identified by their unique Order ID
- provide information like Order State, Start Time, error messages, etc.
A Xyna Order can be started by using one of a Xyna Factory's Order Entries:
- Triggering one of the deployed Trigger instances
- Using the Start Order functionality of the RMI interface
- Using the Workflow Tester section inside the Xyna Process Modeller
- Defining a Cron-like Order or Time-Controlled Order
- Using the
startorder
command inside the CLI:
Xyna Orders can be canceled manually by selecting the Order inside the Order Overview and using the Kill Order button.
Please note: The user must have the Right KILL_STUCK_PROCESS
to use this functionality.
Common Xyna Order-specific CLI commands:
./xynafactory.sh startorder -orderType <arg> [-applicationName <arg>] [-versionName <arg>]
[-workspaceName <arg>] [-a] [-inputPayloadFile <arg>] [-p] [-priority <arg>] [-s]
[-timeconstraint <arg>] [-timeout <arg>]
List all active Orders of a given Workspace or Application
./xynafactory.sh listactiveorders [-applicationName <arg>] [-versionName <arg>]
[-workspaceName <arg>] [-g] [-vf] [-vo] [-vt]
./xynafactory.sh listorders [-count <arg>] [-offset <arg>]
./xynafactory.sh showorderdetails -id <arg> [-v]
Change the scheduling parameters of an Order already in the Scheduler
./xynafactory.sh changeschedulingparameter -orderId <arg> [-timeconstraint <arg>]
./xynafactory.sh cancelorder -orderId <arg> [-timeout <arg>]
./xynafactory.sh killprocess -orderId <arg> [-timeout <arg>]
The following commands can be used in the rare case of hanging Xyna Orders:
./xynafactory.sh discoverabandonedorders [-d]
./xynafactory.sh listabandonedorders [-v]
./xynafactory.sh resolveabandonedorder [-entryID <arg>] [-a]
./xynafactory.sh forcecleanabandonedorder [-entryID <arg>] [-a] [-f] [-r]