InvokeSchedule

Overview 

Invokes the Schedule method on the specified object

Syntax 

InvokeSchedule(1, 2, 3, 4, 5)

Function Properties 

OrdinalTypeDescription
1stringRequiredObject on which to perform Schedule method
2stringRequiredMethod to perform on the object
3stringRequiredSchedule defintion object to use with Schedule method
4arrayRequiredArray containing status and RequestID of API call
5stringRequiredAPI configure options to include in call. Can contain a null value.

Example 

1<script runat="server">
2     var rtn = [0,0,0];
3     var newObject = Platform.Function.InvokeSchedule(APIObject,"Validate",scheduleDefinition,StatusAndRequestID,Options);
4     var statusMessage = StatusAndRequestID[0];
5     var errorCode = StatusAndRequestID[1];
6     var scheduleResponse = StatusAndRequestID[2];
7</script>