[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
I have discovered an working example on taskbean.java on jbpm 3.1 starters kit (web console). With that code it work's fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050896#4050896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
Seems overkill correct, seems, since it realy isn't. Writing your own hibernate queries is much more complex. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050453#4050453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
You can get to the variables using the Map processVars = processInstance.getContextInstance().getVariables(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050429#4050429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
I get a null value on that value, is there some obvious reason on that may happend ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050434#4050434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
wfenthusiast wrote : You can get to the variables using the | | Map processVars = processInstance.getContextInstance().getVariables(); Well that certainly seems like it should do what I want... but like Ricardo I also get a null value back from this. Can someone please shed light on why this is the case? kukeltje - Sounds like you are saying that the way I am doing it is the right way (and only way other than my own hibernate queries)? This still doesn't give me access to a list of the variables? How can I do that? Thanks for the quick responses. -Jon View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050500#4050500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
I think I have answered my own question. What wfenthusiast told me to do works fine - if there is at least one variable in the process instance. If there are not any variables, then the map seems to come back null (rather than an empty Map). This seems like a defect to me... but since the method isn't really documented it is not clear what the expected behavior is. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050513#4050513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting a list of the process variables in a process ins
please file a jira issue for this so we can return an empty map (or just null) but at least add something to the javadoc to make it more clear Ronald View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050531#4050531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user