The “Repeating element path does not have a predicate for selecting 1 instance.” warning message will come up on some stitch statements; specially on the “Variable” field. It means the Location Path XPath expression will select more than one instance and then the operation (Append or Assign) will fail at runtime.
In this blog I’ll try to explain how to read the warning and how to fix the expression.
There is a lot of XPath and XSD Schema lingo in this post; however I’ll try to explain it with less lingo that I can. Wish me luck.
Expect twisted humor here and there; more of then than none.
A quote that I like: “If you want to be free, stay anonymous…”
The meaning of the warning
Lets start peeling the onion (warning) into heads and tales and then put it back together… I’m going to use an example and simulate a conversation with you.
The example orchestration the $input_RESPOSE is a Shopping Cart. The Stitch statement with the warning is trying to assign 123.99 to the item’s price. See the pic below. Read the complete article here.
Jürgen Kress is a member of the product management team responsible for Oracle’s integration and digital assistant partner business. He is the founder of the Oracle Integration and Developer Partner Communities, and the global Oracle Partner Advisory Councils. The PaaS & Middleware Partner Community is home to over 6,000 members internationally as Oracle’s most active and successful community, which Jürgen manages with monthly newsletters, webcasts, and conferences. He also hosts the annual PaaS & Middleware Partner Community Forums and PaaS & Middleware Summer Camps, where hundreds of partners receive product updates, roadmap insights, and hands-on training supplemented by a variety of Web 2.0 tools like Twitter, discussion forums, online communities, blogs, and wikis.