cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass process context parameters while starting business process?

Former Member
0 Kudos

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);

Accepted Solutions (0)

Answers (0)