Hi there,
I’m basically trying to use a select in a form and fill the select-options by a camunda variable as described here: Selects | docs.camunda.org
Code looks like:
Map<String, String> availableOptions = new HashMap<String, String>();
availableOptions.put(“001”, “First”);
availableOptions.put(“002”, “Second”);
availableOptions.put(“003”, “Third”);execution.setVariable("availableOptions", objectValue(availableOptions) .serializationDataFormat(SerializationDataFormats.JSON) .create());
However, objectValue(availableOptions) is marked with message
The method objectValue(Map<String,String>) is undefined for the type MyJavaClass
Any ideas why this appears? Thanks!
Regards