Difference between revisions of "Extensions.Job.SendFinalResult"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Job.SendFinalResult(ResultTerm) | + | Job.SendFinalResult(ResultTerm result); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | The '''SendFinalResult''' | + | The '''SendFinalResult''' will send the last result before the job exits to the instance which started the job. |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| Result | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | This represents the '''result''' which | + | {{TableRowPropertie2| Result | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | This represents the '''result''' which will be sent to the tester. The term diag:ResultTerm is specified in [[Extensions.DiagCom|the DiagCom extension]]}} |
|} | |} | ||
Latest revision as of 03:25, 13 September 2019
Classification
Name | SendFinalResult |
Short Description | Sends the last result to the instance |
Class | Action |
Extension | OTX Job extension |
Group | Job related actions |
Exceptions | TypeMismatchException InvalidStateException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Job.SendFinalResult(ResultTerm result);
Description
The SendFinalResult will send the last result before the job exits to the instance which started the job.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Result | Result | Term | - | [1] | This represents the result which will be sent to the tester. The term diag:ResultTerm is specified in the DiagCom extension |
OTL Examples
/// Local Declarations
DiagCom.Result Result1;
/// Flow
Job.SendFinalResult(Result1);
See also
SendIntermediateResult
SetJobInfo
SetProgressInfo
AddElement
AddBranchByName
AddBranchByIndex
AddBranchByValue
AddEnvDataByDtc