I have a small process (2 steps) that will be used at several points in main process. I am trying to create a referenced process but somehow could not get it to work correctly.
I have created small process with a receive and a reply step. Receive step is configured as Simple Service (For Synchronous Reply) and receive docuemnts is Document2. Reply step has same document as reply document and reply to points to receive step.
When parent process runs and reaches at referenced process step, it does not create referenced process instance (cannot drill down) and task is not listed either. Also, IS server log give following error
no step matching ReferencedProcess.docs:Document2 (model ReferencedProcess/ReferencedProcess, frag Default)
If I change receive step type to Subscription (For Broker Documents), and remove reply step, things seem to work and I can drill down to referenced process from referenced process step in main process. Also, the task in referenced process is listed/queued.
Problem with subsription based model is how can I get a reply document back from referenced process into main process to get any data changes.
I need your suggestions/comments