[rules-users] validation error on Template

kurrent93 kurrent93 at gmail.com
Tue Mar 19 17:20:52 EDT 2013


Well I just tried again, but now I am unable to reproduce the error.
Must have been a momentary glitch in the matrix.

I will try a few more times to reproduce it.


On Tue, Mar 19, 2013 at 10:10 PM, manstis [via Drools] <
ml-node+s46999n4022901h50 at n3.nabble.com> wrote:

> Hello,
>
> I tried with the latest 5.5.x branch code and could not replicate the
> issue you both report.
>
> These are the steps I followed:-
>
> 1) Create a new Rule Template
> 2) Add a Fact Type
> 3) Add a Field constraint, with the value defined as a Template Key.
> 4) Change Template Key name
> 5) Click OK
> 6) Click "Load Template data"
> 7) Add a row
> 8) Enter a value
> 9) Click OK
> 10) View source
>
> Everything worked as I'd expect it to.
>
> Can you please advise if the steps you are using are different.
>
> Can you please try with the 5.5.x latest code?
>
> With kind regards,
>
> Mike
>
> On 14 March 2013 16:17, kurrent93 <[hidden email]<http://user/SendEmail.jtp?type=node&node=4022901&i=0>
> > wrote:
>
>> Hi
>>
>> I'm tryiing to create a template in Guvnor.
>>
>> When I try to add a template key, guvnor appends _na to the variable name.
>> And also says there are validation errors.
>>
>> Is this something I am doing wrong?
>>
>> the template looks like this:
>> 1.      |       rule "TestTemplate_0"
>> 2.      |           dialect "mvel"
>> 3.      |           when
>> 4.      |               Account( accountBalance > account_balance_na )
>> 5.      |           then
>> 6.      |               insertLogical( new TradeOrder() );
>> 7.      |       end
>>
>> Thanks
>> Anton
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828.html
>>
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4022901&i=1>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4022901&i=2>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828p4022901.html
>  To unsubscribe from validation error on Template, click here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4022828&code=a3VycmVudDkzQGdtYWlsLmNvbXw0MDIyODI4fC0zMzQ3MDA3NTI=>
> .
> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828p4022902.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130319/26514727/attachment.html 


More information about the rules-users mailing list