Interaction SDK
(Web Services)

Service: ScriptService


The Script service. Internal use.
Attribute Summary

Method Summary
Object executeScript
           Execute a script.
boolean isScriptAvailable
           Is the script available.

Event Summary
eventName
           Script service event. The event name has the following form scriptInstance:eventName or alias

Attribute Detail

Method Detail

executeScript

Execute a script.
Parameters:

  scriptName  String
   The script name, under form scriptInstance:scriptItem.

  info  Object
   The information.

Returns:

  Type:  Object

   The script result.

Errors:

  error.common.AilFactoryNotInitialized

  error.common.ParameterInvalid

  error.common.RequestFailed

  error.script.ScriptNotFound

  error.script.ScriptError


isScriptAvailable

Is the script available.
Parameters:

  scriptName  String
   The script name, under form scriptInstance:scriptItem.

Returns:

  Type:  boolean

   true, if the script is available.

Errors:

  error.common.AilFactoryNotInitialized

  error.common.ParameterInvalid

  error.common.RequestFailed


Event Detail

eventName

Script service event. The event name has the following form scriptInstance:eventName or alias
Available attributes:  *:*

Filters:

  Key: KEY   Value: *.  -  Any string value

Triggers:

  Key: KEY   Value: *  -  Any string value


Interaction SDK
(Web Services)