Difference between revisions of "CatTaskInstantSchedule class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskInstantSchedule</nowiki> |Description=<nowiki>Schedule cattask to run now</nowiki> |Constructors= {{CGscriptConstructors_Template...")
(Tag: visualeditor-switched)
 
(Tag: visualeditor-switched)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
|Name=<nowiki>CatTaskInstantSchedule</nowiki>
 
|Name=<nowiki>CatTaskInstantSchedule</nowiki>
 
|Description=<nowiki>Schedule cattask to run now</nowiki>
 
|Description=<nowiki>Schedule cattask to run now</nowiki>
|Constructors=
+
|InheritsFrom=CatTaskSchedule|Constructors=
 
{{CGscriptConstructors_Template|Description=<nowiki>Run now</nowiki>}}
 
{{CGscriptConstructors_Template|Description=<nowiki>Run now</nowiki>}}
 
|Methods=
 
|Methods=
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
+
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
 
|Properties=
 
|Properties=
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
+
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}
 +
 +
=== <span style="color:#DF8621">'''Examples'''</span> ===
 +
<source lang="javascript">
 +
//CatTaskInstantSchedule
 +
number workflowRId = 15562503;
 +
WorkflowScript wS = new WorkflowScript(workflowRId);
 +
CatTaskInstantSchedule schedule  = new CatTaskInstantSchedule();
 +
bool informMe = false;
 +
array parameters={};
 +
wS.Schedule(schedule, informMe, parameters);//Returns CatTask instance id: 104699 (CatTaskMetaDataId: 54182)
 +
</source>

Latest revision as of 03:39, 25 June 2020

CatTaskInstantSchedule


Schedule cattask to run now

Parent class

Inherits from CatTaskSchedule

Constructors

  • () - Run now

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Examples

//CatTaskInstantSchedule
number workflowRId = 15562503;
WorkflowScript wS = new WorkflowScript(workflowRId);
CatTaskInstantSchedule schedule  = new CatTaskInstantSchedule();
bool informMe = false;
array parameters={};
wS.Schedule(schedule, informMe, parameters);//Returns CatTask instance id: 104699 (CatTaskMetaDataId: 54182)