Finds a workflow order using a key and value. Fails the test if there is more or less than 1 order.
More...
Finds a workflow order using a key and value. Fails the test if there is more or less than 1 order.
- Example:
FindOrderByKey order =
exec(new FindOrderByKey(
"wf name",
"1.0",
"my_key",
"value"));
- For finding orders on a remote Qorus instance:
FindOrderByKey order =
exec(new FindOrderByKey(
"wf name",
"1.0",
"my_key",
"value").on(
"qorus connection name"));
◆ constructor()
QorusInterfaceTest::FindOrderByKey::constructor |
( |
string |
workflowName, |
|
|
string |
workflowVersion, |
|
|
string |
keyName, |
|
|
softstring |
value |
|
) |
| |
Creates the action with given parameters.
- Parameters
-
workflowName | the name of the workflow |
workflowVersion | the version of the workflow |
keyName | the name of the key |
value | the value of the key to find |
◆ getInstanceId()
*softint QorusInterfaceTest::FindOrderByKey::getInstanceId |
( |
| ) |
|
Returns the workflow instance id.
- Returns
- the workflow instance id, if any was found, otherwise NOTHING
◆ getStaticData()
*hash<auto> QorusInterfaceTest::FindOrderByKey::getStaticData |
( |
| ) |
|
Returns static data.
- Returns
- the static data, if any was found, otherwise NOTHING
◆ on() [1/2]
FindOrderByKey QorusInterfaceTest::FindOrderByKey::on |
( |
QorusSystemRestHelper |
restHelper | ) |
|
Changes the REST helper to be used to find the workflow order.
- Parameters
-
restHelper | the REST helper to use |
- Returns
- self for chaining
◆ on() [2/2]
Changes the REST helper to be used to find the workflow order.
- Parameters
-
connectionName | the name of a remote Qorus connection |
- Returns
- self for chaining
◆ run()
The documentation for this class was generated from the following file: