cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse enum name in next task

alxt
Champ in-the-making
Champ in-the-making
In .bpmn file

    <userTask id="task1" name="task one">
      <extensionElements>
        <activiti:formProperty id="field1" name="field one" type="enum" required="true">
          <activiti:value id="id1" name="Some long text"></activiti:value>
          <activiti:value id="id2" name="Another long text"></activiti:value>
        </activiti:formProperty>
      </extensionElements>
    </userTask>


How in next task show field1 as "Some long text" or "Another long text"?


    <userTask id="task1" name="task two">
      <documentation>field1=${field1} only id1 or id2 :(</documentation>
3 REPLIES 3

trademak
Star Contributor
Star Contributor
You already show it in the documentation field right?
You want to include it as a form property again?

Best regards,

alxt
Champ in-the-making
Champ in-the-making
Yes, I  already show it in the documentation field right.
And I want show same propery, by DONT want copy all property definition.

Also, I don't want use long id - IMHO using <code>field1 == "Another long text"</code> - bad practic…

trademak
Star Contributor
Star Contributor
You have to copy the form property definition. We don't have reuse features yet for form properties.

Best regards,