This class will create and execute a synchronous workflow order.
More...
This class will create and execute a synchronous workflow order.
◆ ExecSynchronousOrder() [1/3]
com.qoretechnologies.qorus.test.ExecSynchronousOrder.ExecSynchronousOrder |
( |
Map< String, Object > |
orderdata, |
|
|
String |
expected_status, |
|
|
Map< String, Object > |
expected_dd |
|
) |
| throws Throwable |
|
inline |
creates the action with the order details
- Parameters
-
orderdata | order details with the following keys:
"name" : (required) the name of the workflow order to create and execute synchronously
"staticdata" : (optional hash) the static data for the order; either this key or "external_order_instanceid" is required
"external_order_instanceid: (optional string) the external order instance ID for the workflow data; either this key or \c "staticdata" is required
- \c "dynamicdata": (optional hash) the initial dynamic data for the order
- \c "orderkeys": (optional hash) a hash of order keys for the order
- \c "priority": (optional int) the order priority (default @ref OMQ::DefaultOrderPriority) from 0 - 999; priority 0 is the highest; 999 is the lowest
- \c "parent_workflow_instanceid": (optional int) a loosely-coupled workflow that will be marked as the parent of this workflow
- \c "options" : (hash) an optional hash of option names and values; if any options are not valid for the workflow, then an exception is raised and the synchronous workflow execution instance is not started
|
expected_status | the expected workflow order status after execution (see Workflow, Segment, and Step Status Descriptions for possible values) |
expected_dd | the expected dynamic data after execution; only keys given in the hash will be compared |
◆ ExecSynchronousOrder() [2/3]
com.qoretechnologies.qorus.test.ExecSynchronousOrder.ExecSynchronousOrder |
( |
Map< String, Object > |
orderdata, |
|
|
String |
expected_status |
|
) |
| throws Throwable |
|
inline |
creates the action with the order details
- Parameters
-
orderdata | order details with the following keys:
"name" : (required) the name of the workflow order to create and execute synchronously
"staticdata" : (optional hash) the static data for the order; either this key or "external_order_instanceid" is required
"external_order_instanceid: (optional string) the external order instance ID for the workflow data; either this key or \c "staticdata" is required
- \c "dynamicdata": (optional hash) the initial dynamic data for the order
- \c "orderkeys": (optional hash) a hash of order keys for the order
- \c "priority": (optional int) the order priority (default @ref OMQ::DefaultOrderPriority) from 0 - 999; priority 0 is the highest; 999 is the lowest
- \c "parent_workflow_instanceid": (optional int) a loosely-coupled workflow that will be marked as the parent of this workflow
- \c "options" : (hash) an optional hash of option names and values; if any options are not valid for the workflow, then an exception is raised and the synchronous workflow execution instance is not started
|
expected_status | the expected workflow order status after execution (see Workflow, Segment, and Step Status Descriptions for possible values) |
◆ ExecSynchronousOrder() [3/3]
com.qoretechnologies.qorus.test.ExecSynchronousOrder.ExecSynchronousOrder |
( |
Map< String, Object > |
orderdata | ) |
throws Throwable |
|
inline |
creates the action with the order details
- Parameters
-
orderdata | order details with the following keys:
"name" : (required) the name of the workflow order to create and execute synchronously
"staticdata" : (optional hash) the static data for the order; either this key or "external_order_instanceid" is required
"external_order_instanceid: (optional string) the external order instance ID for the workflow data; either this key or \c "staticdata" is required
- \c "dynamicdata": (optional hash) the initial dynamic data for the order
- \c "orderkeys": (optional hash) a hash of order keys for the order
- \c "priority": (optional int) the order priority (default @ref OMQ::DefaultOrderPriority) from 0 - 999; priority 0 is the highest; 999 is the lowest
- \c "parent_workflow_instanceid": (optional int) a loosely-coupled workflow that will be marked as the parent of this workflow
- \c "options" : (hash) an optional hash of option names and values; if any options are not valid for the workflow, then an exception is raised and the synchronous workflow execution instance is not started
|
◆ run()
executes the workflow order synchronously
- Parameters
-
The documentation for this class was generated from the following file:
- /builds/qorus/qorus/java/com/qoretechnologies/qorus/test/ExecSynchronousOrder.java