This discussion is archived
6 Replies Latest reply: Feb 5, 2013 12:09 PM by RuffS RSS

Random Selection Failure - to-spec at line is evaluated to multiple nodes

890113 Newbie
Currently Being Moderated
Hi,

Has anybody come across a situation were an assign activity fails with an

"Exception is thrown because the to-spec at line 113 is evaluated to multiple nodes"

The problem is that an element in a variable appears more than once although it is restricted to maxOccurs="1".

e.g

<variable>
<outputVariable>
<part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Output xmlns="http://xmlns.oracle.com/MyApp/MySchema">
<result/>
<result/>
</Output>
</part>
</outputVariable>
</variable>

The result element has a maxOccurs="1" in the xsd and the operation in the assign activity is a copy not an append!

The problem is not consistent and happens randomly with the same set of data.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points