AnsweredAssumed Answered

Get properties from modeler form

Question asked by fegor on Sep 27, 2017
Latest reply on Sep 28, 2017 by fegor

Hi!

 

I need to retrieve the properties of a form from the modeler, but if I use formData.getFormProperties() does not work. Returns the properties of an internal form, not a form for the modeler.

How can I recover and manage these properties or forms fields from the modeler?

 

Resume:

<userTask id="sid-568BA090-92A5-46A2-8680-4B2DF7A9D8D6" name="PruebaForm" activiti:assignee="$INITIATOR" activiti:formKey="4004">
<extensionElements>
<activiti:formProperty id="new_property_1" name="pruebaCampo" type="string"/>
<activiti:formProperty id="new_property_2" name="pruebaCampo2" type="string"/>
<activiti:taskListener event="create" class="com.activiti.extension.tasks.service.ComboBoxTask"/>
<modeler:allow-send-email><![CDATA[true]]></modeler:allow-send-email>
<modeler:form-reference-id><![CDATA[4004]]></modeler:form-reference-id>
<modeler:form-reference-name><![CDATA[PruebaCombo]]></modeler:form-reference-name>
<modeler:activiti-idm-initiator><![CDATA[true]]></modeler:activiti-idm-initiator>
<modeler:editor-resource-id><![CDATA[sid-568BA090-92A5-46A2-8680-4B2DF7A9D8D6]]></modeler:editor-resource-id>
</extensionElements>
</userTask>

 

I access to activiti:formProperty... but not modeler:form-reference...

 

Regards,

fegor

Outcomes