$createTask()
Overview
public any function $createTask()
Proxy to the createTask() method of the Ad-hoc Task Manager Service service.
Example
var taskId = $createTask(
event = "generate.invoice"
, args = { salesref=salesref }
, runNow = true
);