[rules-users] Error when uploading a rule flow into Guvnor

ramram ramram858 at gmail.com
Tue Apr 27 04:47:41 EDT 2010


Hi all, 

I have the following problem: 
1- I am uploading a rule file into the guvnor the file can be uploaded
successfully 
2- When I go to the default package and I press save and validate there is
no error and all is fine till here 
3- When I build the package I am having the following exception: 
     Rule Compilation Error the decleraed package "" doesnt match the
expected 
     and unable to generate rule invoker

After tracing it I find that it is resulting from the following: 
I have in my Rule Flow that is being uploaded a split in the split there is
the following 

 <split id="5" name="Gateway" x="329" y="160" width="49" height="49"
type="2" > 
      <constraints> 
        <constraint toNodeId="13" name="End Process" priority="2"
type="code" dialect="java" >return   endProcess;</constraint> 
        <constraint toNodeId="3" name="Create User" priority="1" type="code"
dialect="java" >return createUser;</constraint> 
      </constraints> 
    </split> 

If I removed the  type="code"  from the constraint tag the process could be
uploaded successfully.

Can anyone help in this issue. plz

Regards,
ram
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Error-when-uploading-a-rule-flow-into-Guvnor-tp758818p758818.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list