When we define an element template for usertask with custom fields. In modeler it shows all the custom fields in General tab.
Q1. The other tabs “Forms” “Listeners” “Input/Output” “Extensions” are not shown for element template. Is there any way to configure in template or that is how modeler behaves for custom templates.
Q2. Is there any way to display embedded form for output parameters listed in custom fields
Template:
<bpmn:userTask id=“END-DATE001” name=“END-DATE001” camunda:modelerTemplate=“org.camunda.bpm.usertask.generictask”> bpmn:extensionElements camunda:inputOutput
<camunda:inputParameter name=“Description”>end date for the suscription</camunda:inputParameter>
<camunda:outputParameter name=“SubscriptionDate”>${ enddate }</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
…
Updated the bpmn xml and added camunda:formData to usertask to show up user input form in cockpit.
<bpmn:userTask id="END-DATE001" name="END-DATE001" camunda:modelerTemplate="org.camunda.bpm.usertask.generictask">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="Description">end date for the suscription</camunda:inputParameter>
<camunda:outputParameter name="SubscriptionDate">${ enddate }</camunda:outputParameter>
</camunda:inputOutput>
<camunda:formData>
<camunda:formField id="enddate" label="${Description}" type="string" />
</camunda:formData>
</bpmn:extensionElements>