AnsweredAssumed Answered

Default value in StartEvent/TaskUser Form properties

Question asked by sandroredi on Jan 7, 2016
Latest reply on Jan 22, 2016 by jbarrez
Hi,
I'm using Activiti 5.19 and I'm trying to set default value on a StartEvent/TaskUser form.

Using Eclipse Designer Plugin I could do it and the code is this the following:


<startEvent id="avvio_nuova_richiesta" name="Richiesta" activiti:initiator="initiator" activiti:formKey="Form avvio nuova richiesta">
      <extensionElements>
        <activiti:formProperty id="titolo_richiesta" name="Titolo" type="string" variable="titolo_richiesta" [b]default="titolo"[/b] required="true"></activiti:formProperty>
      </extensionElements>
    </startEvent>

But, when I tryed to do it using activiti Web Modeler, I couldn't find any field to set default properties.

Have you in mind to improve this feature in the next release of Activiti?
If not, could you explain to me the right way to add the the default value on angularjs interfaces and on Java classes to perform the correct transformation in the XML BMPN?

Thank you.
Regards

Sandro

Outcomes