cancel
Showing results for 
Search instead for 
Did you mean: 

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

cleroux
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

cleroux
Champ in-the-making
Champ in-the-making
Here are the readable examples (désolé for the original message)
Example 1 : laneset
<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>

Example 2 : property in userTask
<userTask completionQuantity="1" id="_9" implementation="##unspecified" isForCompensation="false" name="Imprimer documents" startQuantity="1">
      <incoming>_12</incoming>
      <outgoing>_27</outgoing>
      <property id="_9_P_1" name="Form_AN_VEHI_IMPRIMER_DOCUMENTS"/>
      <property id="_9_P_2" name="F_Confirmation"/>
      <property id="_9_P_3" name="NOback"/>
      <property id="_9_P_4" name="NOnext"/>
      <property id="_9_P_5" name="PDFFORM_ECARI001"/>
      <property id="_9_P_6" name="PDFFORM_ECARI003"/>
    </userTask>

trademak
Star Contributor
Star Contributor
Lane information is available as part of the Process Java object. You are right that properties are not parsed since they are not used in Activiti. But if you see a need to use property elements please create a JIRA and we can add it again.

Best regards,