[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-24 Thread sravyts
Is it possible to use a spring bean as the handler in a decision node? I can't seem to get this working (although I registered spring as a language for the expression language in jbpm.cfg.xml: | | | I get the following error: | Caused by: javax.el.PropertyNotFoundExcept

[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-24 Thread sravyts
Forgot to include the correct beans so please ignore my previous post. I need to get some more sleep I guess... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251166#4251166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-24 Thread sravyts
One more question: How do you pass arguments if you can't change the method signature (the condition handler needs to implement DecisionHandler which has a method decide(executionContext)... )? How do I get the Document you mention into this class? What am I not seeing here? Wkr, Sofie Vi

[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-24 Thread kukeltje
You are not seeing the default way to pass data to delegationhandlers (actionhandlers, eventhandlers, decisionhandlers) Putting something like | | | | | inside the handler tag and declaring assignee as a String field in your class will make sure it is passed

[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-08-31 Thread sravyts
Ok, that was indeed what I was missing, thanks for the help. This is my actual node in my processdefinition: | | | | | | | |

[jboss-user] [jBPM Users] - Re: decision node based on data not in task variables

2009-09-01 Thread kukeltje
Great, it is kind of a 'hack' but it works and it is a demonstration of the flexibility of jBPM. Don't think (just a little) outside the box, think in an unlimited universe :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252750#4252750 Reply to the post :