InfoPath 2007 and Workflow Status
I've been doing a lot with InfoPath 2007 and workflow this week. I hit an interesting problem where I was trying to reference the workflow status associated with the form from within the form (basically, I wanted to lock down some fields when the workflow was 'In Progress'). I could create a data connection to get my form workflow status but had troubled finding the right criteria for the workflow condition. The problem was that while the status in the form library UI states 'In Progress' the value is actually an integer. The table of values is below. It worked (WorkflowStatus=2)!
- In Progress 2
- Cancelled 4
- Approved 16
- Rejected 17
Thanks to http://www.sharepointblogs.com/dwise/archive/2006/12/11/FilterViewbasedonWorkflow.aspx for the information...