InvokeSchedule
Overview
Invokes the Schedule method on the specified objectSyntax
InvokeSchedule(1, 2, 3, 4, 5)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Object on which to perform Schedule method |
| 2 | string | Required | Method to perform on the object |
| 3 | string | Required | Schedule defintion object to use with Schedule method |
| 4 | array | Required | Array containing status and RequestID of API call |
| 5 | string | Required | API configure options to include in call. Can contain a null value. |
Example
<script runat="server">
var rtn = [0,0,0];
var newObject = Platform.Function.InvokeSchedule(APIObject,"Validate",scheduleDefinition,StatusAndRequestID,Options);
var statusMessage = StatusAndRequestID[0];
var errorCode = StatusAndRequestID[1];
var scheduleResponse = StatusAndRequestID[2];
</script>