[jboss-jira] [JBoss JIRA] Commented: (JBPM-691) Decision class does not allow setting of Decision Delegation
Arch (JIRA)
jira-events at lists.jboss.org
Fri Aug 24 13:28:19 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-691?page=comments#action_12373733 ]
Arch commented on JBPM-691:
---------------------------
The org.jbpm.graph.def.Action class already has a method setActionDelegation() to permit the ActionHandler to be set programatically, so it seems reasonable to add a similar method to the Decision class as well. Instead of hardcoding class names in the XML, I create an XML template of the workflow and programatically inject the ActionHandlers, DecisionHandlers, etc. prior to deployment.
> Decision class does not allow setting of Decision Delegation
> ------------------------------------------------------------
>
> Key: JBPM-691
> URL: http://jira.jboss.com/jira/browse/JBPM-691
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Core Engine
> Affects Versions: jBPM 3.1.1
> Environment: Windows XP
> MySQL
> WSAD 5.1.2
> Reporter: Chris OBrien
> Assigned To: Tom Baeyens
>
> In programmatically creating/manipulating a process definition, one cannot specify a Decision Delegation on a Decision node.
> The Decision class just needs a method like:
> public void setDecisionDelegation( Delegation del ) {
> this.decisionDelegation = del;
> }
> I have added this to my install, and it allows me to programmatically change the process definition to define the handler.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list