Como obtener el id de un documento?

1
0
-1

Hola ,

Quisiera saber como puedo obtener el id de un documento recién adjunto mediante el widget de adjuntar.

Garcias

1 answer

1
0
-1
This one is the BEST answer!
  1. apiAccessor.getProcessAPI().getLastDocument(processInstanceId, "mainDoc").getId();

from http://documentation.bonitasoft.com/documents-0

also see
http://documentation.bonitasoft.com/handling-documents-0

regards
Seán

PS: If this reply answers your question, please mark as resolved.

Comments

Submitted by claz08 on Tue, 07/19/2016 - 15:42

Thanks Sean!!

really helped me !

Do you know , if is possible to move the attached file to some other path?

Thanks again!!

Submitted by Sean McP on Tue, 07/19/2016 - 22:17

See
http://community.bonitasoft.com/questions-and-answers/how-i-can-move-fil...

Also please mark this question as resolved (Click the tick next to my answer), as it has, the other question will fix your other issue.

regards
Seán

Notifications