Show / Hide Table of Contents

Class CRMScriptRunResult

Object for returning result from a CRMScript

Carrier object for CRMScriptRunResult. Services for the CRMScriptRunResult Carrier is available from the ICRMScriptAgent.
Syntax
public class CRMScriptRunResult : Carrier

Constructors

CRMScriptRunResult()

Default constructor

Declaration
public CRMScriptRunResult()
See Also
CRMScriptAgent
ICRMScriptAgent

Properties

ErrorInformation

Contains error information if the execution failed

Declaration
public virtual CRMScriptErrorInfo ErrorInformation { get; set; }
Property Value
Type Description
CRMScriptErrorInfo
See Also
CRMScriptAgent
ICRMScriptAgent

Eventdata

The EventData instance after script execution with output values

Declaration
public virtual EventData Eventdata { get; set; }
Property Value
Type Description
EventData
See Also
CRMScriptAgent
ICRMScriptAgent

Headers

Optional result headers for context that supports it

Declaration
public virtual StringDictionary Headers { get; set; }
Property Value
Type Description
StringDictionary
See Also
CRMScriptAgent
ICRMScriptAgent

Output

The output from the script, normally from a print or printLine statement

Declaration
public virtual string Output { get; set; }
Property Value
Type Description
String
See Also
CRMScriptAgent
ICRMScriptAgent

Parameters

The parameters/variables that might have been modified by the script

Declaration
public virtual StringDictionary Parameters { get; set; }
Property Value
Type Description
StringDictionary
See Also
CRMScriptAgent
ICRMScriptAgent

StatusCode

The status code which is available to be returned from Typescript scripts

Declaration
public virtual int StatusCode { get; set; }
Property Value
Type Description
Int32
See Also
CRMScriptAgent
ICRMScriptAgent

StatusMessage

An additional status message that can be sent along with the status code

Declaration
public virtual string StatusMessage { get; set; }
Property Value
Type Description
String
See Also
CRMScriptAgent
ICRMScriptAgent

Success

Indicates if the script was executed successfully, or if it failed. In case of failing, the error members will contain more information

Declaration
public virtual bool Success { get; set; }
Property Value
Type Description
Boolean
See Also
CRMScriptAgent
ICRMScriptAgent

TraceRun

Contains the trace information from the script execution

Declaration
public virtual CRMScriptTraceRun TraceRun { get; set; }
Property Value
Type Description
CRMScriptTraceRun
See Also
CRMScriptAgent
ICRMScriptAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

See Also
CRMScriptAgent
ICRMScriptAgent

ToString(String)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
String prefix

The line prefix (typically used for indenting)

Returns
Type Description
String

The carrier contents.

See Also
CRMScriptAgent
ICRMScriptAgent

See Also

CRMScriptAgent
ICRMScriptAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top