|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > TaskManager > TaskCreate |
This command allows to start programmatically the definition of a new task to be processed later by the TaskManager. The TaskCreate method should be used together with the TaskAppend (to append documents to the task definition) and the TaskSubmit (to submit the task definition as a new effective task of the TaskManager) shell methods.
call DBWShell("TaskCreate taskType taskWsName taskPriority [execApproveScript [approvePrevRev [processRelatedDocuments]]]")
taskType |
task definition type: |
|---|---|
taskWsName |
involved working server name |
taskPriority |
task execution priority:1: low |
execApproveScript |
When taskType=2 (approving) |
approvePrevRev |
When taskType=2 (approving) |
processRelatedDocuments |
0: only UNIQUE_ID passed to the TaskAppend are processed |
DBWShell("TaskCreate 2 myPc 1 0 0 0")