How to st business process by passing process parameters(Map) and how to fetch the context params on Action classes. I'm getting below exception if I pass process params when starting business process.
BusinessProcessParameter] with root cause de.hybris.platform.servicelayer.interceptor.InterceptorException: [de.hybris.platform.servicelayer.interceptor.impl.MandatoryAttributesValidator@4ba9376a]:missing values for [value] in model BusinessProcessParameterModel () to create a new BusinessProcessParameter
Code Snippet :
Map processParams = new HashMap(); processParams.put(AnutaBusinessProcessConstants.BEGIN_TXN_URL_PARAM, Config.getParameter(AnutaBusinessProcessConstants.COMMON_BEGIN_TXN_URL));
final CustomAppProcessModel customAppProcess = (CustomAppProcessModel) businessProcessService.createProcess("CustomAppProcess-"+ historyModel.getTransactionId(), "customAppProcess",processParams);