GetAllWorkflowInstances |
Scroll |
Executes a workflow query returning process information for all active processes.
Namespace: Therefore.API
Visual Basic Public Overridable Function GetAllWorkflowInsances ( nWorkflowFlags As TheWorkflowFlags, _ pServer As TheServer, _ ) As TheMultiQueryResult C# public virtual void GetAllWorkflowInsances ( TheWorkflowFlags nWorkflowFlags, TheServer pServer ) As TheMultiQueryResult
Parameters nWorkflowFlags TheWorkflowFlags for the query.
pServer A valid and connected TheServer object.
Return Value TheMultiQueryResult, containing a list of TheQueryResult items, representing process information for one process each. |
|
Pseudo-Static Method This method does not read or write any member variables of the class it belongs to and should be used like a static method. Unfortunately, Component Object Model (COM) interfaces do not support the concept of static methods. You may declare a temporary instance when using the method once or create a singleton or static member in the calling class if you plan on using it frequently.
Implementation Note Internally, this method gets an array of active process numbers from the server, creates one TheQuery with each process number, adds them to a new TheMultiQuery and executes it on the server. |