Reto, Regarding timers, unfortunately it's not possibly to dynamically change the value of the timer properties based on some process variable. There's already a JIRA issue for this but it didn't make it into the source code yet: https://jira.jboss.org/browse/JBRULES-2501
For wait states, since they are rule constraints, you could potentially access process variables if you insert the process instance into the working memory. This is described in the docs here: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d4e638 Kris Quoting retoy <[email protected]>: > > Is there a way to access process variables within the timer code of a > wait > state node? > I'm not getting anything else than null values there. > Even if I assign a value to my variable in the same timer section it > is null > again in the next iteration... also if I'm accessing it through > context.getVariable("varname"). The same applies to globals... > > Does anybody know any kind of way of passing data between timers and > the > rest of the process? > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/how-to-access-process-variables-within-wait-state-node-timers-tp987504p987504.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
