if multiple documents are to be stored in multiple process variables, it is no different than submitting multiple variables.
If I miss something please give more info
If I add all the document Ids as process instance variables, how do I retreive the status of each individual document.
Also how do I set multiple docIds as the process instance variables. I dont think we can save String as the variable. For example if I have 100 document Ids , how do I perform this?
I dont think we can save String as the variable.use a collection, list or map
If I add all the document Ids as process instance variables, how do I retreive the status of each individual document.if they are in one process, the process has a status.
But the documentation says the following:
The variable names are java.lang.String. By default, jBPM supports the following value types:
classes that are persistable with hibernate
so? isn't a Collection or Map or List persistable with hibernate?
you are right..I think I can use the List or some collection. Is there a way to retrieve all the process instances of one particluar document id, which is a part of that collection?
Are these stored in JBPM_VARIABLEINSTANCE table?
not without writing your own hibernate queries and not sure how to access data IN collections but yes they are stored in that table
Do you know which column the collections would map to in this table ? Can you please send me an example if you have one?
Thank you very much for all the help.