Hi All , <br><br>I am just trying to write a simple rule but not sure how can i write it , Please help me as i am new to drools and still in the learning phase .<br><br>I have a below Fact with three fields<br><br>Person <br>
<br> firstName <br> lastName<br> fullName<br><br><br>Now i want to assign fullName = firstName + lastName which i am not able to find out how can i do that.<br><br>I am able to define the <b>when </b>part using guided editor but able to define <b>then </b>part , Please help <br>
<br><b>rule "PersonRules"<br> dialect "mvel"<br> when<br> p : Person( firstName != "" && lastName != "" )<br> then</b><br><br>Thanks,<br>Ashish<br>