Re: [rules-users] Drools Flow: how to get knowledge session ID from WorkItem

2010-05-07 Thread Alan . Gairey
Subject Re: [rules-users] Drools Flow: how to get knowledge session ID from WorkItem Anatoly, if you can share your generic implementation that would be nice.. because a lot of people is looking for something like that. I prefer custom and domain specific implementation, but it seams that

Re: [rules-users] Drools Flow: how to get knowledge session ID from WorkItem

2010-05-04 Thread Mauricio Salatino
Anatoly, if you can share your generic implementation that would be nice.. because a lot of people is looking for something like that. I prefer custom and domain specific implementation, but it seams that a lot of people is looking for something generic that can be reused. I can blog about that gen

Re: [rules-users] Drools Flow: how to get knowledge session ID from WorkItem

2010-05-04 Thread tolitius
@Alan, Implementation of WorkItemHandler is a custom ( "your" ) component. This means that this implementation may have anything injected ( set as property or at construction time ). Let's say you implement "YourCustomWorkItemHandler" to take a "session id" at the construction time ( goo

Re: [rules-users] Drools Flow: how to get knowledge session ID from WorkItem

2010-05-04 Thread Chris Raschl
Hi Alan, On 2010-05-04 13:10, alan.gai...@tessella.com wrote: > The subject says it all really: is there any way of determining the > knowledge session ID from the WorkItem argument (or WorkItemManager > argument?) passed in to the executeWorkItem method of an implementation > of the WorkItemHandl

[rules-users] Drools Flow: how to get knowledge session ID from WorkItem

2010-05-04 Thread Alan . Gairey
The subject says it all really: is there any way of determining the knowledge session ID from the WorkItem argument (or WorkItemManager argument?) passed in to the executeWorkItem method of an implementation of the WorkItemHandler interface? Any help would be very much appreciated. Thanks, Alan_