-
1. Re: Usage of pooledTaskInstanceList
limousyf May 31, 2007 5:00 AM (in response to limousyf)By the way, the "tons of warnings" was this kind of lines:
10:55:18,981 WARN [JDBCExceptionReporter] Unknown table 'JBPM_VARIABLEINSTANCE'
10:55:19,153 WARN [JDBCExceptionReporter] SQL Warning: 1051, SQLState: 42S02
But JBPM_VARIABLEINSTANCE table actually exists in my mysql db -
2. Re: Usage of pooledTaskInstanceList
torsty May 31, 2007 7:52 AM (in response to limousyf)I am using the pooledTaskInstanceList without problems.
Butcouldn't get pooled task instances list for actors '[]'
looks like you haven't set the actor in your authenticate method, i. e. something like:actor.getGroupActorIds().add( "myGroupActorId" );
-
3. Re: Usage of pooledTaskInstanceList
gavin.king May 31, 2007 12:24 PM (in response to limousyf)Yes, exactly, you need to initialize the group actor ids.
-
4. Re: Usage of pooledTaskInstanceList
limousyf May 31, 2007 1:35 PM (in response to limousyf)yes, I was stuck with another problem - the persistence of a logged user in session context - so I couldn't try your tip.
But it's working perfectly well now, thanks guys :) -
5. Re: Usage of pooledTaskInstanceList
campi Jun 8, 2007 12:57 PM (in response to limousyf)Hi,
I have a question regarding the use of the pooledTaskInstanceList
I need to inject this component into a SLSB because I need to filter the List before using it into a datatable (some users from different entity have the same actor assigned because they have the same role within the application, but a user in a entity shouldn't be able to seen the task of an user in another entity)
I have try to do it by injecting the component :@In(value="#{org.jboss.seam.core.pooledTaskInstanceList}",required=false) private PooledTaskInstanceList pooledTaskInstanceList;
If you have any idea, this will be very helpful. -
6. Re: Usage of pooledTaskInstanceList
pmuir Jun 9, 2007 8:53 AM (in response to limousyf)Try
@In(required=false) private List pooledTaskInstanceList;
It would be neater to create a new Seam component based on pooledTaskInstanceList which does the filtering for you rather than injecting and outjecting as you describe. -
7. Re: Usage of pooledTaskInstanceList
campi Jun 18, 2007 9:50 AM (in response to limousyf)Thanks for the advise, it's worked fine.
-
8. Re: Usage of pooledTaskInstanceList
campi Jun 18, 2007 10:35 AM (in response to limousyf)I have an another question concerning TaskInstance.
I am using Jbpm variable to stock an id so I can retrieve information from my database when I list the taskInstance that I need.
I wanted to known how I could load the current taskInstance that is associated to this id (that i get from the database).
This will be very helpful,
Thanks in advance. -
9. Re: Usage of pooledTaskInstanceList
harpritt Jul 24, 2007 10:40 AM (in response to limousyf)YIPPEEEEE i was looking for this all over the place...
Thank you Google... -
10. Re: Usage of pooledTaskInstanceList
harpritt Jul 24, 2007 10:43 AM (in response to limousyf)PS... ill bodge it with the injection for now.. and then when i have more time ill workout how to write a custom component....
.... if anyone has a useful link about custom components please post it, it would help me out a lot. -
11. Re: Usage of pooledTaskInstanceList
harpritt Jul 24, 2007 10:55 AM (in response to limousyf).... crap.. i just worked out what you mean by creating a seam component... argggggggg im a noob ima noooooooooob