I know I can create a camunda:InputParameter
using bpmn-moddle in the Client as follows:
const inputParameter = moddle.create('camunda:InputParameter', {
name: 'input',
value: configuration,
});
Which ends up as:
<camunda:inputParameter name="input">
//configuration value
</camunda:inputParameter>
How can I create the following structure instead:
<camunda:inputParameter name="input">
<camunda:map>
<camunda:entry key="key">"String value is longer than 4K so I'm wrapping it in a map" </camunda:entry>
</camunda:map>
</camunda:inputParameter>
Can I just use wrap the configuration like:
const newConfig =
"<camunda:map><camunda:entry key="key">"
+ configuration +
"</camunda:entry></camunda:map>"
Will this work?