No luck on samples or examples....gosh I'm really having trouble understanding how to "manage" the workflow in the form.
I create the "3 state workflow" in my document library, and have a choice field called "OrderStatus". Now how to change this field from the form?
1. The original submitter will submit the form to the library, for approval. This starts the workflow, as I've set the workflow to automatically start when an item is created. This should change the "OrderStatus" to "Order Pending Approval" (1st state) right?
2. The task is sent to the "Approver" with a link to the form .xml. The approver needs to approve the form. This is where I'm stuck. What is the mechanism to change "OrderStatus"? Do I create a separate view in the form with a button to approve? If I do that, then how can i later have a button to change to complete? Also, if i were to create a rule to change the view automatically for the approver, what happens in a case where the approver is actually initiating the form?
3. Once the form is approved, I want the submitter to be able to update the final status to "Completed". Again what would be the best way to do this?
I had wanted to use signatures to ensure the approver doesn't change the submitter's form. But that appears to be a problem when using a workflow, as the form has to change AFTER the submitter has signed it.