document mapping

Hi ,

I am facing a problem when i am mapping fields from one document to another document.

doc1 structure is like this
doc1
name
empno
docLIST
first name
secondname
docList
address

and have a doc2 structure like this

doc2
empno
docList
name
value
docLIst
address
salary

there are some common fileds in doc1 and doc2 and to map other fields of docs i am getting them from database…

  1. i map only some values of doc2 from doc1 in one step
  2. the remaining values of doc2 mapping from database output doc

When i trace the result area of developer i am not able to see the doc2, that means values are not mapped

after step2 also doc2 is not coming in the result area of developer

how can i map the values of doc2 from doc1 and as well from databse document

I am struggling a lot to solve this problem, i tried using loop and repeat… but no use… pl give me the solution.

Thanks in advance,
Christina

You mean doc2/fields are not getting mapped?

Please tell us about your current mapping,loops etc…Are you using any appendToDocumentlist service when you map doc2/docList??

If you give us more details it will help users to give response accurately.

HTH,
RMG

It is very unlikely that normal mapping would failed unless if you have some looping problems.

Try to step through and see if you actually getting value in doc1, and step through your mapping step to see if you get the value mapped in doc2.

If you still have problem, probably you can describe more about how you’re doing the mapping; step by step.

kkurnia