Difference between revisions of "Workflow syscall"
Nguyenduyan (talk | contribs) |
Nguyenduyan (talk | contribs) (Tag: visualeditor) |
||
Line 15: | Line 15: | ||
''parameters'': array of parameters | ''parameters'': array of parameters | ||
− | ''schedule'': Use the given schedule to run workflow. It is CatTaskSchedule object see more at CatTaskInstantSchedule, CatTaskSpecificTimeSchedule, CatTaskNeverSchedule | + | ''schedule'': Use the given schedule to run workflow. It is CatTaskSchedule object see more at [[CatTaskInstantSchedule class|CatTaskInstantSchedule]], [[CatTaskSpecificTimeSchedule class|CatTaskSpecificTimeSchedule]], [[CatTaskNeverSchedule class|CatTaskNeverSchedule]] |
== Return type == | == Return type == |
Latest revision as of 08:23, 14 July 2017
Workflow_syscall
Call to a system workflow
Syntax
Workflow_syscall(systemWorkflowName[, parameters[, schedule]]);
Arguments
systemWorkflowName: string. Name of system workflow
parameters: array of parameters
schedule: Use the given schedule to run workflow. It is CatTaskSchedule object see more at CatTaskInstantSchedule, CatTaskSpecificTimeSchedule, CatTaskNeverSchedule
Return type
Returns CatTask instance id
Example
CatTaskInstantSchedule schedule = new CatTaskInstantSchedule();
Workflow_syscall("systemWorkflowName", {para1, para2}, schedule);