I'm trying to make my first reusable Subprocess. It takes XML as input and generates XML as output. It is meant to use XPath for both input and output in order to make it flexible. Now, when I instantiate it in Another process and try to set XPath for input and output it fails. I also notice thatboth input and output has "data type:Document" instead of XML. I can work around the problem by adding a "Set Value" activity before and after the instantiation and then do the XPath there and just use Variable for input and output. It works, but is not nice and not what I wanted. Can anybody explain why the data type can't be XML and why the XPath don't work direct with my Subprocess?
Yes, the setup is similar to your example. What I want to do is to be able to use XPath when assigning input and OutPut. I will get an error if I do it as my example in the attached image. This image aslo shows that the input and output of the subprocess is types as Document and not XML.