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

CatTaskInstantSchedule class: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskInstantSchedule</nowiki> |Description=<nowiki>Schedule cattask to run now</nowiki> |Constructors= {{CGscriptConstructors_Template..."
ย 
Nguyenduyan (talk | contribs)
No edit summary
Line 10: Line 10:
{{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|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>

Revision as of 02:32, 31 May 2017

CatTaskInstantSchedule



Schedule cattask to run now

Constructors

  • () - Run now

Methods

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

Properties

  • string ObjectTypeName { get; } - The name of the type of 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)