Hi,
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 :
location expression
/process_data/@nplusun /process_data/FormInit/object/data/xdp/datasets/data/FormulaireA/Nouveau/login
and the data
/process_data/FormEtape2/object/data/xdp/datasets/data /process_data/FormInit/object/data/xdp/datasets/data
It works.
In my second setValues I do :
location
/process_data/@name /process_data/FormEtape2/object/data/xdp/datasets/data/FormulaireA/Ancien/NomPrenom
I try with serializable, with an xml variable assiocated to the same schema than my form.
I never had a problem of mapping, I don't understand what appends :(
Thank You for helping me