AnsweredAssumed Answered

Migration from 5.11 to 5.12 (same for 5.13) : parsing lanes and parsing <property> attributes from Activity

Question asked by cleroux on Aug 12, 2013
Latest reply on Aug 13, 2013 by trademak
Hi,
Since several months we are in production with Activity 5.10 integrated in our Software (internet portal for partners). Use of Yaoquiang.
Trying to migrate toward 5.12 we face the followings problems :

1.  lanes/lanesets are not anymore parsed (or at least stored in ProcessDefinitionImpl). We were using that property to know (in our business environment) the list of activities that shoud be executed by a Role … without doing that at Activity level. Example :
<laneSet>
      <lane id="Garagiste" name="Garagiste">
        <flowNodeRef>_6</flowNodeRef>
        <flowNodeRef>_7</flowNodeRef>
        <flowNodeRef>_8</flowNodeRef>
        <flowNodeRef>_9</flowNodeRef>
        <flowNodeRef>_10</flowNodeRef>
        <flowNodeRef>_26</flowNodeRef>
      </lane>
      <lane id="cari" name="cari">
        <flowNodeRef>_13</flowNodeRef>
        <flowNodeRef>_14</flowNodeRef>
        <flowNodeRef>_16</flowNodeRef>
        <flowNodeRef>_29</flowNodeRef>
      </lane>
      <lane id="SA" name="SA">
        <flowNodeRef>_19</flowNodeRef>
      </lane>
    </laneSet>

2.  the property attributes are not anymore parsed ( or at least stored in activities from ScopeImpl).
Example :
<userTask completionQuantity="1" id="_8" implementation="##unspecified" isForCompensation="false" name="Confirmer" startQuantity="1">
      <incoming>_22</incoming>
      <outgoing>_11</outgoing>
      <property id="_8_P_1" name="Form_AN_VEHI_CONFIRMER"/>
      <property id="_8_P_2" name="F_Valider"/>
      <property id="_8_P_3" name="D_next_Senden"/>
      <property id="_8_P_4" name="F_next_Soumettre"/>
      <property id="_8_P_5" name="NOback"/>
      <property id="_8_P_6" name="D_Bestätigen"/>
</userTask>

Where to find these attributes in the BPMN representation in Activiti. OR (may be this is the right question), what shoud we use to Simulate/Implement theses needs (BPMN elements or Activiti elements) :
- define which role is linked to activities
- define some (static) properties for an Activity (for example, FormLabel in multi-language, or is there a next/back/save action possible))

Hoping this is clear enough for you !!!

Thanks a lot

Christophe

Outcomes