Document / Attachement not selectable at parameter values

1
0
-1

Hi@all,

i created a new connector for cmis-functions (need my own for errorhandling and some other features). I have defined some input and output parameters and it works fine.

My Problem:

I want select an attachment (defined in the pool) as input parameter but it is not possible to choose the attachment from the process. Which dependencies and which field-type i need to use the reference of the document? I've tried at input-definition: - java.io.File - org.bonitasoft.engine.bpm.document.Document - org.bonitasoft.engine.bpm.document.DocumentValue - org.apache.chemistry.opencmis.client.api.Document And in the Page: - Text - Select (here is the complete development-system busy !) - List - ScriptEditor (groovy)

nothing will get the attachment as an selectable value in the selectionBox.

Greetings

Jathagrimon

1 answer

1
+1
-1
This one is the BEST answer!

i found the solution:

InputParameters have to defined as String and in the PageDefinition at the bottom of every FieldDefinition you can set a checkbox like "Show documents in values".

Now it works.

Maybe helps this topic some other users. ;-)

Notifications