Skip to Content
0
Former Member
Aug 27, 2009 at 02:47 PM

Problem with XSLT Transformation on BPM

28 Views

Hi there,

I have a 1:N File --> Idocs Scenario with BPM, Inside the BPM i have an XSLT Transformation that has a problem i cant figure out, basically this XSLT Groups the file structure like this:

Source

-


<File>                                                
   <Route>                                        
      <Id>1</Id>                                 
      <delivery>1</delivery>              
   </Route>                                        
  <Route>                                         
      <Id>1</Id>                                  
      <delivery>2</delivery>              
   </Route>                                       
  <Route>                                        
      <Id>2</Id>                                  
      <delivery>3</delivery>              
   </Route>                                        
   <Route>                                         
      <Id>2</Id>                                  
      <delivery>4</delivery>                
   </Route>                                        
</File>                                               

Target

-


<Shipments>
   <Route>
     <Id>1</Id>
     <delivery>1</delivery>
     <delivery>2</delivery>
   </Route>
   <Route>
     <Id>2</Id>
     <delivery>3</delivery>
     <delivery>4</delivery>
   </Route>
</Shipments>

It's supposed to generate 1 Route Segment for each disctint Route Id on the Source file, it has always worked fine as we ran several tests before going into production system, but now, sometimes it misses a few routes for example the output will be 25 different Routes for a source file that has 28, or 2 routes from a file that has 3.

I have tested the XSLT on the repository and it works fine all the time, same thing when using xml spy, i always download the payload i get from the file adapter, i got a source file from PRD that has 28 routes and i ran the whole scenario on QAS and it generated 12 routes only, im about to open an OSS message but first i wanted to know if anyone has seen something like this, thanks in advance for all the help you guys can provide.

Best Regards,

Roberto.

p.s. i can send the XSL if needed or anything just ask for it.

Edited by: Roberto Gomez on Aug 27, 2009 4:52 PM

Edited by: Roberto Gomez on Aug 27, 2009 4:56 PM

Edited by: Roberto Gomez on Aug 27, 2009 4:58 PM