I have a process model which queries a database using the query database smart s

I have a process model which queries a database using the query database smart service. What is returned is a set of results which are stored in a complex data type process variable called "encounter" that can hold multiple instances. I want to run a sub-process once for each record in the encounter process variable. I set up a parameter process variable in the sub-process to be used as input to pass the PV from the main process to the sub process. I then set the "Automatically run multiple instances of this node" check box on and set it to run one instance of the sub-process for each item in the encounter complex data type PV. But it only will run the sub-process for the first item in the encounter PV. Any ideas why? This setup all works fine if I use a PV that is a simple data type but does not work with a CDT. Thanks....

OriginalPostID-71292

OriginalPostID-71292

  Discussion posts and replies are publicly visible