-
1. Re: How to do a mass submit of documents
kukeltje Apr 20, 2008 3:53 PM (in response to bhagatkota)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 -
2. Re: How to do a mass submit of documents
bhagatkota Apr 20, 2008 9:37 PM (in response to bhagatkota)If I add all the document Ids as process instance variables, how do I retreive the status of each individual document.
-
3. Re: How to do a mass submit of documents
bhagatkota Apr 20, 2008 10:08 PM (in response to bhagatkota)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?
-
4. Re: How to do a mass submit of documents
kukeltje Apr 21, 2008 2:52 AM (in response to bhagatkota)I dont think we can save String[] as the variable.
use a collection, list or mapIf 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. -
5. Re: How to do a mass submit of documents
bhagatkota Apr 21, 2008 10:20 AM (in response to bhagatkota)But the documentation says the following:
The variable names are java.lang.String. By default, jBPM supports the following value types:
java.lang.String
java.lang.Boolean
java.lang.Character
java.lang.Float
java.lang.Double
java.lang.Long
java.lang.Byte
java.lang.Short
java.lang.Integer
java.util.Date
byte[]
java.io.Serializable
classes that are persistable with hibernate -
6. Re: How to do a mass submit of documents
kukeltje Apr 21, 2008 11:11 AM (in response to bhagatkota)so? isn't a Collection or Map or List persistable with hibernate?
-
7. Re: How to do a mass submit of documents
bhagatkota Apr 21, 2008 11:43 AM (in response to bhagatkota)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? -
8. Re: How to do a mass submit of documents
kukeltje Apr 21, 2008 11:49 AM (in response to bhagatkota)not without writing your own hibernate queries and not sure how to access data IN collections but yes they are stored in that table
-
9. Re: How to do a mass submit of documents
bhagatkota Apr 21, 2008 3:00 PM (in response to bhagatkota)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.