I posted this thread in Designer section but I think this place is more appropriate.
I have a mapping problem. In my process I have two forms with the same xml schema binding to this forms.
The first form is prefill with his informations (name, division, email etc ...), his superior informations and he can choose and fill a new superior.
Once the form is fill and send, the new superior received the form with the completed informations.
I use a setValue to extract the name of the superior and to associate it with an Assign Task and map the data of the first form into the second form and it works.
After the second form is approved, I need to exctract some other informations but whatever I can do, all the values are null. However when I extract data from the form with the function xfa.host.exportData(); the data xml is fill with the correct information.
In my first setValues I map the field login of my form with this xpath :
Ok I find the answer to my problem. It seems that I need to map the field one by one because if I map like this <br /><br />/process_data/FormInit/object/data/xdp/datasets/data <br /><br />to <br /><br />/process_data/Form2/object/data/xdp/datasets/data<br /><br />when I export data from the form2 I have this : <br /><br />/><FSFORMQUERY_<br />>/Jeudi26/Formulaires/FAWSv2.pdf</FSFORMQUERY_ (form A)<br /><br />and this<br /><br />/><FSFORMQUERY_<br />>/Jeudi26/Formulaires/FAWSv2Etape2.pdf</FSFORMQUERY_ (form B) <br /><br />I don't understand why. Mapping field one by one works.<br /><br />If someone can explain it to me, I thank you.