Query workflow status from Task IP form?

Is it possible to query the workflow runtime to determine what state the state machine is in and what are the valid state transitions from inside an InfoPath Task form?

I’m trying to build a single IP Task form that will modify its UI to match the state of the underlying workflow without duplicating the state machine’s logic.

[625 byte] By [JeffR] at [2008-1-1]
# 2

Thank you Frank,

Your suggestion worked great!

Jeff.

JeffR at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 3
The StateMachineWorkflowInstance requires the WorkflowRuntime as a parameter. How do you get that in InfoPath?
RodrigoDíaz at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...

SharePoint Products and Technologies

Site Classified