Skip to content

Commit

Permalink
Support more notification recipients (MID-4534)
Browse files Browse the repository at this point in the history
When recipient expression was used, the number of recipients
was limited to 1. Thanking Michael for the fix.
  • Loading branch information
mederly committed Apr 10, 2018
1 parent bcee7ba commit c5757c3
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -181,6 +181,7 @@ private List<String> evaluateExpression(ExpressionType expressionType, Expressio

QName resultName = new QName(SchemaConstants.NS_C, "result");
PrismPropertyDefinition<String> resultDef = new PrismPropertyDefinitionImpl<>(resultName, DOMUtil.XSD_STRING, prismContext);
resultDef.setMaxOccurs(-1);

Expression<PrismPropertyValue<String>,PrismPropertyDefinition<String>> expression = expressionFactory.makeExpression(expressionType, resultDef, shortDesc, task, result);
ExpressionEvaluationContext params = new ExpressionEvaluationContext(null, expressionVariables, shortDesc, task, result);
Expand Down

0 comments on commit c5757c3

Please sign in to comment.