CatTaskInstantSchedule class

From Catglobe Wiki
Revision as of 03:39, 25 June 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)