Hi Raghava
What you're trying to do is (most likely) possible, but it is a little bit complicated.
Firstly...
Can each of the 5 approvers only modify their specific part of the form? Or are there parts of the form that several different people can modify?
The reason for this question is that if two different people can both modify the same part of the form, then it becomes impossible to know what the "merged" value should be.
As long as this complexity doesn't happen, I would:
- create a hidden field on the form which governs which type it is
- based on this hidden field, use Javascript in the form to hide/show or enable/disable the relevant parts of the form
- in the workflow, copy the form into 5 separate form variables, and in a SetValue qpac, set the hidden type variable to a different type for each variable
- Use a split to allocate the 5 form variables to 5 different users
- After the split, use another SetValue to assign each of the fields in each of the forms back into the original form. (This will be a very long set of assignments, depending on the complexity of your form.)
We do have experience with this type of workflow, so if you need help, please email: info@avoka.com
We are also currently working on a QPAC that will automatically merge several XML variables into a single one. This might also be helpful - let us know.
Good luck,
HOward
http://www.avoka.com