Process fails with error "BPM-0543: An error occurred when sending the action item. Contact your site administrator. 'Subject' is too large. Maximum size is 128" when the action item subject built by Clarity contains more than 128 characters
Steps to Reproduce:
Expected result: The action item is sent and the process is on a running status
Actual result: The action item gets sent and the process errors out with BPM-0543
On the bg-ca.log file you will encounter this error:
BPM-0543: An error occurred when sending the action item. Contact your site administrator. 'Subject' is too large. Maximum size is 128.
com.niku.union.odf.exception.ODFValidationException: 'Subject' is too large. Maximum size is 128.
at com.niku.odf.object.AttributeImpl.validateStringLength(AttributeImpl.java:1868)
at com.niku.odf.object.AttributeImpl.validate(AttributeImpl.java:1773)
at com.niku.odf.object.ObjectInstanceImpl.setValue(ObjectInstanceImpl.java:1807)
at com.niku.calendar.service.ActionItemService.createActionItem(ActionItemService.java:241)
at com.niku.calendar.service.ActionItemService.createActionItem(ActionItemService.java:96)
at com.niku.bpm.services.ExecuteManualAction.sendActionItem(ExecuteManualAction.java:433)
at com.niku.bpm.services.ExecuteManualAction.execute(ExecuteManualAction.java:96)
at com.niku.bpm.services.ProcessEngine.executeStepAction(ProcessEngine.java:149)
at com.niku.bpm.engine.rules.ActionExecutionPipeline.processActions(ActionExecutionPipeline.java:141)
at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:71)
at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:280)
Release: 15.3 and higher
Component: Clarity Process Management
Before 14.3 there was no proper validation for the string type attributes. In 14.3 validation code has been added for string type attributes hence it is giving the ODFValidationException
This was analyzed by sustaining Engineering as part of CLRT-79876
This is working as designed after additional validation has been introduced.
The one option would be to reduce the characters in the fields.