|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Workflow > DBWorkflowGetStateList |
Returns the list of the states composing the assigned process.
Sub DBWorkflowGetStateList (processID, byref stateList)
processID |
id of the process |
stateList |
array containing the list of the states composing the assigned processId |
Sub Main()
DBWInit(TRUE)
ReDim Preserve stateList(1)
DBWorkflowGetStateList "MODELS",stateList
for i=0 to ubound(stateList)-1
DBWMsgBox "state=" & stateList(i)
next
End Sub