ListWorkflows Method
Lists the workflows for a particular item.
Object Oriented Interface
public function doListWorkflows();
Procedural Interface
insp_spworkflow_do_listworkflows($res);
Remarks
The item is specified by the ItemURL property.
The WorkflowIndex and WorkflowCount properties allow you to iterate through the various workflows that are received by SharePoint. Each workflow will contain a WorkflowDescription, WorkflowId, WorkflowName, and a collection of TaskParams which describe input into the workflow.