[jboss-jira] [JBoss JIRA] (JBRULES-3493) allow drools function shared by multiple rules in different file

frank luo (JIRA) jira-events at lists.jboss.org
Mon May 7 12:59:17 EDT 2012


frank luo created JBRULES-3493:
----------------------------------

             Summary: allow drools function shared by multiple rules in different file
                 Key: JBRULES-3493
                 URL: https://issues.jboss.org/browse/JBRULES-3493
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: frank luo
            Assignee: Mark Proctor


I googled really hard and couldn't find the answer, hence rising an issue.

For example, I have a function "formatDate" defined as a drools function and not as a java static method.

Then I have several rules, defined in different drools files, need to use the function. I have tried different options but couldn't get it to work. Basically it seems like a function defined in one of drl file is not visible to other drl files.

Is my understanding correct?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list