Executing the Script

Table of Contents

Scripts can be executed:

If there are any execution errors, these errors will be displayed in the web UI.

Note that, a scheduled script can also be run on-demand from its details page by clicking on "Run" button.

Following scripts will automatically be executed when the server is started:
  • any startup scripts configured
  • any scheduled script that was enabled and running before the server was shut down
  • any listening script that was subscribed to a listening datasource before the server was shut down
  • any connector, using one of the scripts above

Passing in Parameters

if your script requires parameters, they can be passed in as a standard query string for a GET request (ex:http://localhost:12222/RapidSuite/script/run/ScriptProcessingParams?param1=value1&param2=value2), or in a POST request from an HTML FORM or Javascript.

These parameters will be accessed from a params map in the script as:

def severity = params.severity;
def name = params.name;
def customerid = params.customerid;
...
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.