.NET Framework Class Library
TaskManager.TaskCreate Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > TaskManager Class > TaskManager Methods > .NET Framework Class Library |
Start the definition of a new task to be processed later by the TaskManager. Should be used together with the TaskAppend (to append documents to the task definition) and the TaskSubmit
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub TaskCreate ( _ taskType As Integer, _ |
C# |
|---|
public void TaskCreate( int taskType, |
Visual C++ |
|---|
public: void TaskCreate( |
JavaScript |
|---|
function taskCreate(taskType, taskWsName, taskPriority, execApproveScript, approvePrevRev, populateChildrenStacks); |
Parameters
taskType
Type: System.Int32
task definition type: 1 for Checkin, 2 for Approve, 3 for plot, 4 for script
taskWsName
Type: System.String
involved working server name
taskPriority
Type: System.Int32
task execution priority: 1 for low, 2 for normal, 3 for high
execApproveScript
Type: System.Boolean
When taskType=2 (approving) if true execute OnApprove.LST script. The script will be run For Each task action queued With the TaskAppend api.
approvePrevRev
Type: System.Boolean
When taskType=2 (approving) if true approve previous revision otherwise approve current revion
populateChildrenStacks
Type: System.Boolean
if true, TaskManager will execute the task for all the child sub-assemblies, otherwise only to 1st level components
See Also