Skip to content

Commit

Permalink
implementation, added junit test
Browse files Browse the repository at this point in the history
Issue #854
  • Loading branch information
rsoika committed Mar 27, 2024
1 parent 59a8413 commit 66c9748
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ public ItemCollection run(ItemCollection workitem, ItemCollection event)

// support deprecated scripts without a 'result' JSON object ...
if (result == null) {
throw new PluginException(RulePlugin.class.getName(), INVALID_SCRIPT,
"Deprecated script - result object is missing in: " + script);
logger.warning("Business Rule does not return a result object: " + script);
} else {
// first we test for the isValid variable
Boolean isValidActivity = true;
Expand Down

0 comments on commit 66c9748

Please sign in to comment.