Data Stitch: Append and Assign for repeating elements by Jorge Herreria
October 9, 2020 Leave a comment
Data Stitch has ASSIGN, APPEND and REMOVE operations. Some use-cases are easy to grasp; some others require a little thinking… On this blog I‘ll explain behaviors I deem they are not straightforward to derive the outcome for using Data Stitch in a OIC Orchestration:
· Assigning into unbounded elements (aka – Repeating Elements)
· Appending instances into an unbounded element and how to complete the data.
I assume you are familiar with XPath Expressions and XSD Schemas, because there is a lot a lingo in this post…
You will not see many screen shots. My goal is to give you the concepts so you become a good data “tailor?”
Expect some twisted humor here and there; more often that none.
I love this quote: Perfection is boring; therefor laugh at your mistakes.
Syntax
For Data Stitch Sentences
(TO XPath expression).OPERATION(FROM XPath expression)
Example:
($v1/ns0:customer/ns0:name).ASSIGN(“Jorge Herreria”)
On explanations you will see step/step/step/… in location paths. I’m going to omit the namespace prefixes, and just put the local-name on each step; looking to make it easy to read… However on actual XPathExpressions you’ll see prefixes. Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress