4 Replies Latest reply on Jul 22, 2014 4:45 PM by Jasmine Lee-Oracle

    unable to use aliases in rules

    user3554982

      Hi,

       

      I was trying to compile this simple rule using alias from an example given in OPM user guide.


      the person (the colleague) is a member of the person's co-workers if

      the person's workplace = the colleague's workplace

       

      I have declared the following in properties file

      1. entity named person

      2. relationship of person with itself called 'the person's co-workers'

       

      When I compile it I get the following error ::

       

      Error after text 'the person's workplace = '. Found text: 'the colleague's workplace'. Expected value: variable,constant (OPA-E00111)

       

      Please help.