I have a form with several digital signatures, so I am passing the form around using a xfaForm variable. So, after user1 fills out the form, signs it and then send it back to the process. The process creates a task for user2 with the same form. If user2 opens the task in his workspace the signature of user1 is missing. I think I have to use another variable type for the form. But what type? I have played around with the different types but it comes always to errors. What type of variable should I use for the form? Or is there any example for such a process?
I found one sample (http://www.adobe.com/devnet/livecycle/articles/preserve_dig_sig_multisteps.html) but it is for version 7.x
The signature is missing on step 2 because when you use a xfaForm variable for the second user it'll call the render service again and re-render the form.
If you want to preserve the signatures, you'll have to do a few things.
First, on your submit button (on the xdp), make sure you submit the whole PDF and not just the data. You need the full PDF to preserve the signatures.
Create a DocumentForm variable (Doc1) and select your xdp and use the same render service as the one you had for the xfaForm variable.
Create a second DocumentForm (Doc2) variable and leave the URL and render service blank.
Put a setValue operation between the two users and assign the content submitted from user 1 to the second variable. Something like /process_data/Doc2/object/@document = process_data/Doc1/object/@document
Use the Doc2 variable for the data mapping on the second user. Since there is no render service on that second DocumentForm variable, it won't re-render the PDF. I'll just use whatever was submitted.
Custom render that populates the form with user login data when they open it in Workspace. I changed the submit button to Submit As: PDF, it was XML Data Package (XDP).
After the user completes the form the process uses a webservice to get the manager's id to use for routing. Then it goes to an Set Value to set the initial form, visa_application, to Doc2. Then the rest is just like Michael described in a previous posting above.