Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Workflow syscall: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with "Category:Workflow {{HelpFiles}} = Workflow_syscall = Call to a system workflow == Syntax == Workflow_syscall(systemWorkflowName[, parameters]); == Arguments == ''sys..."
 
Nguyenduyan (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
== Syntax ==
== Syntax ==


Workflow_syscall(systemWorkflowName[, parameters]);
Workflow_syscall(systemWorkflowName[, parameters[, schedule]]);


== Arguments ==
== Arguments ==
''systemWorkflowName'': string. Name of system workflow
''systemWorkflowName'': string. Name of system workflow
''parameters'': array of parameters
''parameters'': array of parameters
''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 ==
Array
Returns CatTask instance id
 
== Example ==
 
<source lang="javascript">
CatTaskInstantSchedule schedule  = new CatTaskInstantSchedule();
Workflow_syscall("systemWorkflowName", {para1, para2}, schedule);
</source>

Latest revision as of 07: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);