Hi All , <br><br>I have defined a function name <b>join </b>using guvnor guided editor which is mentioned below <br><br>function String join(String firstname , String lastname) {<br>&nbsp; return firstname + &quot; &quot; + lastname;<br>

}<br><br>then i created rule using guided editor which make use of the function and when i validate the rule is validates successfully<br><br>rule &quot;persontest&quot;<br>&nbsp;&nbsp;&nbsp; dialect &quot;mvel&quot;<br>&nbsp;&nbsp;&nbsp; when<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; p : Person( firstname != &quot;&quot; &amp;&amp; lastname != &quot;&quot; )<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; p.setFullname( join(firstname,lastname) );<br>end<br><br>now i created a test scenario for testing the rule&nbsp; which is like below <br>

<br>GIVEN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert Person<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; firstname =Sujit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lastname =Sharma<br><br>EXPECT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fullname = Sujit Sharma<br>

<br>and when i run the test i am getting below error <br><br>[p] field [fullname] was [] expected [Sujit Sharma ]<br><br><br>Please help.<br><br>Regards,<br>Ashish<br>