cancel
Showing results for 
Search instead for 
Did you mean: 

how set DataHandler or dataDource process variable?

kermit
Champ in-the-making
Champ in-the-making
Hi,
how can I put into a process variable something like a datahandler or datasource

this doesn't work because datahandler (or datasource) is not serializable:
DataHandler dh = new DataHandler(datasource)
variable.put("myVar", dh);


thz
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
It needs to be serializable … why would you need such an object in your process in the first place?

kermit
Champ in-the-making
Champ in-the-making
One of the variables input of my process is a document, and I thought to use a datahandler or a datasource.

kermit
Champ in-the-making
Champ in-the-making
Hi,
I have solved my problem using java.io.File (that is serializable) like input variable.

Bye
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.