I have a fairly complex form in which I have to make calls to the server to search for a client and then for their account detail. This functionality works very well using RENDERAGAIN to redraw the form with the search results; this is because my client does not have Reader Extensions. The form is designed to display in a specific way depending on the page state ie: initial load, search for client and get client detail.
All is well until I attach the form to a Workflow every time I call the search the form gets reset to its initial state even though its state is set and correct when the search is performed and is not reset anywhere in the code.
Any suggestion would help as I am just about at my wits end, I am certain I have done something that I am overlooking as I have a different form essentially doing the same thing and it works!