Classification
Pseudo-Code Syntax
Response CreateResponse(ResponseState state);
Description
CreateResponse a response within a resultobject created State after a specified response.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
| Data Type |
Description
|
| Response |
The result will be added to the new response.
|
Properties
| Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
| ResponseState |
ResponseState |
Value |
@ResponseState:POSITIVE |
[0..1] |
This optional attribute determines whether to create a positive or negative response. If the attribute is not set, the default value of POSITIVE will be implicitly.
|
Examples
Response result = CreateResponse(@ResponseState:POSITIVE);
See also
CreateResult
GetJobInfo
GetJobProgress