Below is a dummied down version of a problem which I am encountering. I am wondering if this is a bug, or if I am doing something wrong.
I have two document types. The first one is RequestDoc and contains a single string field (named String). The second one is called RequestDocument and contains a document reference to request doc.
I have a flow service which takes as input a document reference to RequestDocument. This flow service has two debug statements both with variable substitution enabled. The content is as follows
- This will only print out correctly when the flow is called directly: %RequestDocument/String%
- This will only print out correctly when the flow is called by a Web Service: %String%
When I execute this flow directly only the first statement is printed out. When I create a web service which calls this flow only the second one prints out.
This causes a great deal of heart-ache when it comes to mapping fields within this flow. Basically I can not do any mapping using the regular interface - I need to use variable substitution and now this flow will not be able to be called by other flows.
I have attached a sample package (in zip format) which illustrates this behaviour. You will need to re-generate the WSDL from the flow service (Main) or update it accordingly.
Thanks for any insight.
FeatureDemo.zip (15.4 KB)