Multiple formKeys in one User task

As we know one formKey can be specified for one user task.
But is there any polite way to define more than 1 formKey to one user task?

Thanks!

Hi,
Perhaps you could elaborate on the problem you are trying to solve or the desired behaviour?

Regards
Rob

1 Like

I need it because on client side we have a customized questioner/wizard which consists of several user forms (formio forms).

I think the Camunda extension properties can be used for that purpose perfectly:

CamundaProperties properties = modelInstance.newInstance(CamundaProperties.class);
CamundaProperty prop1 = modelInstance.newInstance(CamundaProperty.class);
prop1.setCamundaId(formId);
prop1.setCamundaName(β€œform”);
prop1.setCamundaValue(β€œ1”);
properties.getCamundaProperties().add(prop1);
ExtensionElements extensionElements = modelInstance.newInstance(ExtensionElements.class);
task.setExtensionElements(extensionElements);
task.getExtensionElements().addChildElement(properties);

1 Like