<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rule task is not invoked sometimes . in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59164#M36317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After adding the logging.properties to my classpath , I see the log messages now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And, it appears that the engine picked up the business rule task. my drl file is like this : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.x.workflow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.x.api.dto.User;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 rule "validate_user"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 when&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("executing the rule");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4&amp;nbsp; user : User(getName().equals("test123") == false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5 then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user.setDescription("changed in workflow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7&amp;nbsp; System.out.println("user is not test123");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8&amp;nbsp; end&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am basically trying to see if I can access the methods of my class from the rule file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I don't see the print statements or the effect of the setter call in line 6. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where should I step in my debugger to see if the rule is being executed and what process data is available for the rule .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Nov 2011 21:03:14 GMT</pubDate>
    <dc:creator>sapra</dc:creator>
    <dc:date>2011-11-26T21:03:14Z</dc:date>
    <item>
      <title>rule task is not invoked sometimes .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59162#M36315</link>
      <description>I have a simple process. service task –&amp;gt; business task : my business task executes. I added a mail task in between; service task –&amp;gt; mail task –&amp;gt; business task : I see that mail is working but business task does not work ..the business task operates on one object which is inserted by the fir</description>
      <pubDate>Sun, 20 Nov 2011 01:41:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59162#M36315</guid>
      <dc:creator>sapra</dc:creator>
      <dc:date>2011-11-20T01:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: rule task is not invoked sometimes .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59163#M36316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't you see some error message appearing in the log?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you running the business process from a unit test or from the Activiti Explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 10:15:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59163#M36316</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-21T10:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: rule task is not invoked sometimes .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59164#M36317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After adding the logging.properties to my classpath , I see the log messages now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And, it appears that the engine picked up the business rule task. my drl file is like this : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.x.workflow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.x.api.dto.User;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 rule "validate_user"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 when&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("executing the rule");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4&amp;nbsp; user : User(getName().equals("test123") == false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5 then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user.setDescription("changed in workflow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7&amp;nbsp; System.out.println("user is not test123");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8&amp;nbsp; end&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am basically trying to see if I can access the methods of my class from the rule file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I don't see the print statements or the effect of the setter call in line 6. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where should I step in my debugger to see if the rule is being executed and what process data is available for the rule .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 21:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59164#M36317</guid>
      <dc:creator>sapra</dc:creator>
      <dc:date>2011-11-26T21:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: rule task is not invoked sometimes .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59165#M36318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think line 4 is valid, but it's good to write a simple unit test with only Drools logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 21:33:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-task-is-not-invoked-sometimes/m-p/59165#M36318</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-28T21:33:35Z</dc:date>
    </item>
  </channel>
</rss>

