Skip to content

Workflow Tester

Johannes Heucher edited this page Oct 12, 2022 · 3 revisions

Figure 1: Modal to launch Workflows from
(A) section to set Input Parameters of the Workflow, (B) section to configure the Workflow's execution, (C) execution results

The Workflow Tester is used to launch a Workflow.

While modeling a process, Workflows can be started manually from inside the Workflow Tester in order to test them. If you open the context menu of a Workflow (e.g. in Factory Navigation), the option Test Workflow is offered if the workflow is deployed. This option opens the Workflow Tester. Now the user can set custom Input Parameters and start a new Xyna Order.

Please note: If you want to test Workflows in a large scale development process, you should use the Test Factory.

Input Parameters

To provide the starting Workflow with input values, you can specify the values for each Input Parameter in the table below (fig. 1 (B)).

Execution

In the section Execution, there are some items to configure the Workflow's execution (see fig. 1 (C)):

  • Custom Labels: Labels to identify related Xyna Orders inside the Order Overview section of the Xyna Process Monitor.
  • Monitoring Level: The Monitoring Level of a Xyna Order is an integer that defines the level of information that is stored inside the Order Archive. Default is the Order Type Monitoring Level. If this is not defined, the default Monitoring Level defined by the Xyna Property xyna.default.monitoringlevel is used.
  • Priority: Choose 1 for a low and 10 for a high priority. This priority is used during scheduling the Xyna Order and also for the priority of the started thread. Default is the Order Type priority. If this is not defined, the default priority defined by the Xyna Property xyna.default.priority is used.
To just launch the Workflow, press Launch. If you want to see the Workflow's output inside of the Output section (see fig. 1 (D)), press Launch and wait. If the execution succeeds, the Output will show the Order ID corresponding to a new Xyna Order and a table containing the Workflow's output values. To switch to the Xyna Order's Audit click on the Order ID. If an error occurs or the Order failed due to an exception during execution, you can see an error message in the Output section.

See Also

Clone this wiki locally