JBoss Developer: Message List - jBPM 5.2 Rule TaskMost recent forum messageshttps://developer.jboss.org/community/jbpm?view=discussionsJive Engage2012-01-24T17:54:36Z2012-01-24T17:54:36ZenRe: jBPM 5.2 Rule TaskMauricio Salatino/people/salaboy21do-not-reply@jboss.com2012-01-24T17:54:36Z2012-01-24T17:54:36Z<!-- [DocumentBodyStart:7af97816-fa5a-4947-9bf6-873330deac48] --><div class="jive-rendered-content"><p>We are assumming that you are asking questions about a code that you can check <span alt="Happy" class="emoticon-inline emoticon_happy" style="height:16px;width:16px;"></span> we can not ask for each question if you are sure about what you are asking and if all the lines in your code are uncommented.. </p><p>Cheers</p></div><!-- [DocumentBodyEnd:7af97816-fa5a-4947-9bf6-873330deac48] --><img src='/beacon?t=1425414603463' />2012-01-24T17:54:36Z3 years 1 month ago0Re: jBPM 5.2 Rule TaskMauricio Salatino/people/salaboy21do-not-reply@jboss.com2012-01-24T17:52:16Z2012-01-24T17:52:16Z<!-- [DocumentBodyStart:cc18a57b-25f6-4421-a7f5-1e8c163f5d75] --><div class="jive-rendered-content"><p>Exactly, if you have one active rule the ruleflowgroup will stop until you call the fire all rules method..</p><p>If you don't have any activated rule that belongs to the ruleflowgroup, the rule-task will automatically continue to the next node.</p><p>Cheers</p></div><!-- [DocumentBodyEnd:cc18a57b-25f6-4421-a7f5-1e8c163f5d75] -->2012-01-24T17:52:16Z3 years 1 month ago0Re: jBPM 5.2 Rule Taskgboro54/people/gboro54do-not-reply@jboss.com2012-01-24T17:52:15Z2012-01-24T17:52:15Z<!-- [DocumentBodyStart:7ee419ca-3a72-4b74-8ae0-b6a0499759f1] --><div class="jive-rendered-content"><p>Hmmm...the correct answer would be ensure someone did not comment out your ruleflow-group tag in your rules fire. Should have checked that first. Sorry for the confusion and thaks for hte help...</p></div><!-- [DocumentBodyEnd:7ee419ca-3a72-4b74-8ae0-b6a0499759f1] -->2012-01-24T17:52:15Z3 years 1 month ago10Re: jBPM 5.2 Rule Taskgboro54/people/gboro54do-not-reply@jboss.com2012-01-24T17:48:01Z2012-01-24T17:48:01Z<!-- [DocumentBodyStart:38721e19-35f7-40be-b8fd-0ce101c9a274] --><div class="jive-rendered-content"><p>From the documentation:&nbsp;&nbsp;&nbsp;&nbsp; </p><blockquote class="jive-quote"><p>. If the ruleflow group was already active, the ruleflow group will remain active and execution will only continue if all active rules of the ruleflow group has been completed.</p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&nbsp;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&nbsp;</p><p>I have a very simple use case where I have 2 rules. One is active when the rule-group node is reached and the other is activiated when an object from rule 1 gets inserted. This should keep the process at the rule task node until completion but it seems to me it is not doing this at all. I have a logger on the session, which I see an activation created but before the activation fired event occurs the process has moved on to the next node(which right now is just logging when it is reached). This is either a but or I am missing a configuration somewhere. </p></div><!-- [DocumentBodyEnd:38721e19-35f7-40be-b8fd-0ce101c9a274] -->2012-01-24T17:48:01Z3 years 1 month ago30Re: jBPM 5.2 Rule Taskgboro54/people/gboro54do-not-reply@jboss.com2012-01-24T17:33:09Z2012-01-24T17:33:09Z<!-- [DocumentBodyStart:38c9b01e-225f-4497-a524-2b424df9ea16] --><div class="jive-rendered-content"><p>I am not having an issue with the drools aspect but the jBPM aspect. The next task node after my first rule-task has been completed needs information inserted into the context by the rules. However the Task node is being ran before the firing of all the rules has completed. This seems like odd behavior as I imagine what I am describing is a pretty typically use case. I want to ensure my next node is not executed until the first rule group has completed. Is there a way to accomplish this?</p></div><!-- [DocumentBodyEnd:38c9b01e-225f-4497-a524-2b424df9ea16] -->2012-01-24T17:33:09Z3 years 1 month ago40Re: jBPM 5.2 Rule TaskMauricio Salatino/people/salaboy21do-not-reply@jboss.com2012-01-24T17:30:35Z2012-01-24T17:30:35Z<!-- [DocumentBodyStart:ecc548fd-9e6e-419d-8fea-dc37051dabc1] --><div class="jive-rendered-content"><p>Take a look at the documentaiton. There is a difference between a rule being evaluated, activated and fired.</p><p>Cheers</p></div><!-- [DocumentBodyEnd:ecc548fd-9e6e-419d-8fea-dc37051dabc1] -->2012-01-24T17:30:35Z3 years 1 month ago50Re: jBPM 5.2 Rule Taskgboro54/people/gboro54do-not-reply@jboss.com2012-01-24T17:29:09Z2012-01-24T17:29:09Z<!-- [DocumentBodyStart:a2670945-5881-4aed-84e0-79ff2bfe1853] --><div class="jive-rendered-content"><p>Why would a task node be executed before all the rules in the rule group have finishing executing. I understand that activations get determined when facts are inserted but why wouldn't the rule task node wait until all rules have finished processing before moving on to the next node?</p></div><!-- [DocumentBodyEnd:a2670945-5881-4aed-84e0-79ff2bfe1853] -->2012-01-24T17:29:09Z3 years 1 month ago60Re: jBPM 5.2 Rule TaskMauricio Salatino/people/salaboy21do-not-reply@jboss.com2012-01-24T17:26:00Z2012-01-24T17:26:00Z<!-- [DocumentBodyStart:666c0bfe-8c63-4117-b776-c2050a482f35] --><div class="jive-rendered-content"><p>That's the default behavior. The evaluations are being done as soon as the information goes into the engine, then the activated rules will only fire if they belong to a ruleflow group and that ruleflow group is activated by your process.</p><p>Cheers</p></div><!-- [DocumentBodyEnd:666c0bfe-8c63-4117-b776-c2050a482f35] -->2012-01-24T17:26:00Z3 years 1 month ago70Re: jBPM 5.2 Rule Taskvchmakov/people/vchmakovdo-not-reply@jboss.com2012-01-24T17:20:35Z2012-01-24T17:20:35Z<!-- [DocumentBodyStart:4ebd89bc-79de-48ce-a1ac-034409e79b01] --><div class="jive-rendered-content"><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;">Hi,</span></p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px; margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"> </span>&nbsp;</p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="mso-ansi-language: EN-US;"><span style="font-family: Calibri; color: #000000; font-size: 12pt;">Perhaps you can start with reading of this thread: </span><a class="jive-link-thread-small" data-containerId="2034" data-containerType="14" data-objectId="177660" data-objectType="1" href="https://developer.jboss.org/thread/177660?tstart=0"><span style="font-family: Calibri; font-size: 12pt;">https://community.jboss.org/thread/177660?tstart=0</span></a><span style="color: #000000; font-size: 12pt; font-family: Calibri;">. <span lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">There are also some useful links inside.</span></span></span></p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px; margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"> </span>&nbsp;</p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;">Cheers!</span></p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px; margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"> </span>&nbsp;</p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;">Vladimir</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&nbsp;</p><div class="mcePaste" style="position: absolute; top: 0px; left: 0px;"></div></div><!-- [DocumentBodyEnd:4ebd89bc-79de-48ce-a1ac-034409e79b01] -->2012-01-24T17:20:35Z3 years 1 month ago0jBPM 5.2 Rule Taskgboro54/people/gboro54do-not-reply@jboss.com2012-01-24T17:13:49Z2012-01-24T17:13:49Z<!-- [DocumentBodyStart:772aedd6-bf64-4f99-aecd-45ffdd8d76c7] --><div class="jive-rendered-content"><p>I am currently using jBPM 5.2 with Drools core 5.3. I have noticed that when I am using task nodes after executing rules, the process moves ahead before all the activations have been completed evaluated. Why is this occuring?&nbsp; I have other task down the pipeline which depend on the rules finishing execution before moving on. Is there a configuration or property I am missing? </p></div><!-- [DocumentBodyEnd:772aedd6-bf64-4f99-aecd-45ffdd8d76c7] -->2012-01-24T17:13:49Z3 years 1 month ago90