Omit the '-' from the DSL and the DSLR:
[then]The standard error level is ...
-W
2011/3/9 Saleem Lakhani <Saleem.Lakhani(a)citizensfla.com>
Hi,
This is what used to work in Drools 3: Sample from DSL:
[then]A validation error has occurred=ValErrTO valErrTO = new ValErrTO();
java.util.HashMap variableMap = new java.util.HashMap();
[then]- The standard error level is
"{standard_error_level}"=*int*stdErrLevel={standard_error_level};
valErrTO.setErrorCode(stdErrLevel);
With Drools 5.2.1 it gives me the following error:
No modify was found to add the modifier to: - The standard error level is
"400"
How do I write the above 2 statements again in Drools 5.2.1, NOTE: I need
to write this in DSL.
Sample DSLR:
*rule* "Your First Rule"
*when*
There *is* a Coverage *with*
*then*
#actions
A validation error has occurred
- The standard error level *is* "400"
*end*
Thanks,
saleem
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users