That would be correct when we know what to extract. but as i said it has to take ST/BEG/BEG01/code or ST/REF/… from a variable.
Let me explain you the scenerio. I have a service which does the following things.
- envelopeProcess
- getTemplate
- getEDIString
- convertToValues
- validate
after executing the validate i’m getting error (which i delibrately generating by altering the EDI) in erros record which had 3 fields 1. pathName which contains where the error occured, 2. Errorcode and 3. BriefMessage.
Now taking the path from pathName field i want to extract the values from the EDIValues record. So the pathName field can contain any value need not be ST/BEG…
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services