Avatar

Level 2

Jasmin,

Based on your response I tried to do the following as you had suggested

"Set the data node of the xfaForm variable using xPath. Something like

          /process_data/myXmlData = /process_data/@myinputDoc (You might have to put the document content into xml))

          /process_data/myXFAForm/object/data/ = /process_data/myXmlData (Assign that XMl to the data node of the xfaForm variable)"

       By doing this I am able to acheive the initial objective to send the form information that was filled in during the first step to send the PDF to the email attachment to trigger the process. But the information being fed by the subsequent users in the process is not being updated in the PDF. It looks like xfaform is still using the data that is being set during the serValue operation.

Here is a breakdown of the operational scenario

1. A user fills in some part of the PDF form and clicks submit, which triggers the email endpoint and starts the process

2. Assigned user 1 recieves the PDF in his email and has the information that was filled in step 1 (because we had used XPath to set the data into the xfaform variable). User 1 adds more information to the form and completes the task via email.

3. Assigned user 2 the process gets the PDF in his email but the form only has data that was filled in step 1 and doesnt contain the data that was filled in step 2. How do I udpate the xfaform variable so that it gets updated with the data from step 1 and continues to add data that will be filled by assigned users in steps 2 & 3.

I am kinda stuck here so any help would be appreciated.

Thanks,
Varma