script
Result

The result object that is saved to result management. Note: This object must be configured through the ResultManager.



public class Result

Properties
executionDate The date this result was created.

type=Date
access=read-create
default=0
Displayed(tab/group)=Execution Date

mtosi_id The unique ID of the result object.

type=long
access=read-create
default=0
minimum=1
maximum=2147483647
Displayed(tab/group)=Result ID

mtosi_version The version number of the version of the script this result was generated from.

type=int
access=read-only
default=0
Displayed(tab/group)=Script Version

resultFileName The name of the script result file.

type=string
minimum=0
maximum=500

schedulePointer The schedule this result was generated from.

type=Pointer
access=read-create
default=N/A
Displayed(tab/group)=Schedule

scriptName The name of the script this result belongs to.

type=string
access=read-create
default=N/A
minimum=0
maximum=255
Displayed(tab/group)=Script Name

status The status of the result when it was executed.

type=script.TargetScriptStatusType
access=read-create
default=successfull
Displayed(tab/group)=Status

targetName The name of the target that was specified at the time the result was saved.

type=string
access=read-only
minimum=0
maximum=255
Displayed(tab/group)=Target Name

targetScriptPointer The target script this result was generated from.

type=Pointer
access=read-create
default=N/A

userName The name of the user that saved the result.

type=string
access=read-only
default=
minimum=0
maximum=40
Displayed(tab/group)=User Name

versionPointer The version of the script this result was generated from.

type=Pointer
access=read-create
default=N/A

  
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed
 
Methods

getResultBody

This method returns the result body of the specified result object.
Input Parameters:
objectFullName : Pointer - The full name of the result object to retrieve.
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
Output Parameters:
resultBody : string - The body of the result.
Exceptions:
script.Result.getResultBodyException