This content has been marked as final.
Show 4 replies
-
1. Re: Extension point for Transactions
pirx Dec 5, 2006 10:50 AM (in response to pirx)Subject should be 'Extension point for Transitions', of course ....
-
2. Re: Extension point for Transactions
kukeltje Dec 5, 2006 5:01 PM (in response to pirx)why not simply use an event on the transition and set a processvariable. Even more backwards compatible and not that different.
The reason I mention this is that there are so many usecases wich can be solved by extending jPDL but also by using the actions on events. extending jPDL is not that trivial and Tom is (for good reason) hasitant to do this in minor releases. There are some changes on the roadmap for 4.0 but not sure if this will be one of them. -
3. Re: Extension point for Transitions
pirx Dec 6, 2006 3:17 AM (in response to pirx)"kukeltje" wrote:
why not simply use an event on the transition and set a processvariable. Even more backwards compatible and not that different.
I definetly agree with you that extending jPDL should be the last option. But
in my use case I need to obtain list of transitions of a certain type
'manual' which can be presented to a user in a UI for selection. Transitions
of type 'timed', which are triggered by some schedule should be hidden
instead. I couldn't find any existing jBPM feature which supports this sort of
use case, but if you could point out how to do this right now, I would be
very happy.
BTW, IMO my suggestion is in so far consequent as every other central
element in jPDL like Actions or Nodes are customizable via extension
except for Transitions. And it is not an extension to jPDL syntax but
only yet another hook, so I don't see any problems to introduce this into a
minor release. -
4. Re: Extension point for Transactions
kukeltje Dec 6, 2006 5:47 AM (in response to pirx)Ok, so what you basically want are 'guarded' transitions. That IS on the roadmap for at least 4.0, maybe 3.3. Look in the Jira