[rules-users] Editing Action in Guided decision table ruins the action.

Michael Anstis michael.anstis at gmail.com
Thu Mar 27 06:40:42 EDT 2014


This has been fixed for the next release.


On 27 March 2014 10:38, Ioannis Christodoulou <io.christod at gmail.com> wrote:

> Hello everyone,
> I'm using the latest stable kie workbench (6.0.1.Final) and I have created
> a guided decision table containing an action with free form brl.
>
> Whenever I try to edit this action and press apply changes, kie workbench
> will duplicate the action (creating the new/edited action, while keeping
> the old one) and will not allow me to remove (by clicking on the minus
> icon) the old action.
>
> If I try to validate the guided decision table, I get an error saying
> "Unable to complete your request. The following exception occurred:
> rowData contains a different number of columns to those provided".
>
> The only solution I found is to remove the action that I need to edit and
> re-create it. But this means that I have to re-enter the parameters in my
> rules.
>
> Example action:
> /*MyUtils is a custom class and I am calling a static method passing
> arguments: a string taken as a parameter from each rule and a Level object
> matched in the rule.
> */
> MyUtils.calculateLevel( "@{level_value}", $level);
>
> The issue appears if I try to change that by clicking on the edit (pencil)
> icon to (or any other change actually):
> MyUtils.calculateLevel("@{level_value}", "@{another_value}", $level);
>
> Kind regards
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140327/a1d298cb/attachment-0001.html 


More information about the rules-users mailing list