I like challenges and I was posed this one today in class. Change the built in approval workflow to add steps! Since I have written a really Advanced Workflow course and know a few things that most people don't about workflows in general, I decided to take on the challenge on the plane ride back to San Diego from Houston.
Attached is the results of my exploits. Using the WorkflowChanges class, I was able to inject a new activity into the workflow. I was also able to change the InfoPath form that drive the approval workflow. The only thing I didn't do was to actually take a new element value out of the modified form. I have left that for someone else to figure out!
If you are using FireFox, right click the file and select download…
Enjoy!
Chris