Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

convert document variable into DocumentForm

Avatar

Not applicable
I'm working with a LC ES process in wich I use send and receive services.

I send by email this attachment xpath: "/process_data/pdfForm/object/@document"

Users are involved in process by submitting pdf form from their email after signing them.

documents are signed and returned by email to the LC process.

I retrieve the attachments with receive service and I save them into document variable using SetValue service assigning this variable

"/process_data/pdfFirma1/object/@document" the value of

this one(document type):

"/process_data/attachments_list[1]"

wich is the first attachment in the email.



I have the need to assign the document variable into documentpart of the Document Form.

I tried to assign to the document part of the documentform variable my input document. There aren't errors in the log, but when I try to open the document form in the workspace I can't.

Is this the correct way?

can Anyone help me?



thanks a lot
1 Reply

Avatar

Level 10
Like you said you need to put the "document" variable in a "Document Form" variable and then assign that variable ("Document Form") to the Input and Output data mapping of the User step.



The xPath should be similar to this:



/process_data/myDocForm/object/@document = /process_data/@myDocument



Jasmin