-
Bug
-
Resolution: Done
-
Medium
-
El Alto Release
-
None
-
None
when so check rainy day table and the policy is RETRY, it looks for the variable, and if it is null it generates null exception.
We could add the parameters in the so-bpmn override.yaml as shown below
mso:
rainyDay:
retryDurationMultiplier: 2
maxRetries: 5
here's the code that looks for the variablesin ExecuteBuildingBlockRainyDay.java:
protected String retryDurationPath = "mso.rainyDay.retryDurationMultiplier";
protected String defaultCode = "mso.rainyDay.defaultCode";
protected String maxRetries = "mso.rainyDay.maxRetries";
public void setRetryTimer(DelegateExecution execution) {
try
catch (Exception e)
{ logger.error("Exception occurred", e); throw new BpmnError("Unknown error incrementing retry counter"); }}