script
TargetScriptResult

This class is used for execution of target scripts. Once a script is executed, this object will be returned for each target script that has been executed. It contains the file name on the server of the script results, the status (if has failed or is successful) and any errors.



public class TargetScriptResult

Properties
errorMsg Specifies any errors found when executing the target script.

type=string
access=read-create
default=
minimum=0
maximum=4000
Mandatory on create

filename The filename of the file containing the results of the target script.

type=string
access=read-create
default=
minimum=0
maximum=255
Mandatory on create

mtosi_id The unique ID for the target script result.

type=long
access=read-create
default=0
minimum=1

spanObjectPointer A pointer to the parent spanEnabled object.

type=string
access=read-only
default=
minimum=0
maximum=252

status The status of the executed target.

type=script.TargetScriptStatusType
access=read-create
Mandatory on create

systemInvokationId A unique ID assigned to each individual client invocation of a given script. Currently this property is only set if the script is invoked as part of a cascading flow. The value is system generated and is unique for each NFM-P client (uniqueness within the NFM-P server is not guaranteed). Each script that was invoked as a result of the same cascading flow will have the same ID. Script events also contain this ID. This ID associates every script event with a given cascading flow.

type=long
access=read-create
default=0

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

getTargetScriptResult

This method returns the target script result for the specified full name.
Input Parameters:
objectFullName : Pointer - The full name of the target script result.
resultFilter : ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
Output Parameters:
tragetScriptResult : generic.CommonManagedContainmentEntityInformation - The target script result.
Exceptions:
script.TargetScriptResult.getTargetScriptResultException