I just found out what was wrong. Apparently theer is a bug in the Workbench. When you add a sub process in your larger process you must have set all your input/output variables for the subprocess first. Otherwise the Workbench will only recognize that ther is a new input/output variable not what type or what name it has in the subprocess.
I you encounter this problem, just delete the old ssub process and replace it with a new one and it will work.
I have created two processes - main process and a subprocess.
Now i have added the subprocess to the end of my main process. Tell me how to use the form data values of Main process in the subprocess ..?
Is ther anyone to help me ...?
1. Create a form variable in sub process. (It must be marked as Input)
2. When you add your subprocess to the main process, in the property panel, map your form variable (i.e the main process's form).
Thats all you need to do!
Nith is correct. Here are some links to documentation (it's the ES2 docs, but it mostly applies to ES as well):