Dynamically add input/ouput parameters to service task


I was trying to customize the bpmn js properties panel. My requirement is when user enters a Java class value in service task I want to add some input/output parameter based on the java class value to the businessObject so that user doesn’t have to manually fill it in the input/output tab.

I’m extending the existing propertiesProviderModule and has done some customization, but I’m not able to find a way to dynamically add parameters to existing businessObject.



Did you look into element templates? They serve exactly this purpose (just on a little bit more general level).


Thanks, for the reply. The above link seems to be only applicable to the desktop modeler. I’m working on the the web based modeler.

Found the solution by tinkering around the property panel source code.


Would you mind sharing your solution? :wink: