AnsweredAssumed Answered

Xml elements disappearing when saving diagram

Question asked by pfeiffer on Nov 30, 2012
Latest reply on Nov 30, 2012 by trademak
In the altest version of the activiti designer eclipse plugin I noticed some elements are disappearing after saving the diagram.

For example

Before:
<userTask id="reassign_reviewer" name="Reassign reviewer" activiti:candidateUsers="role(Reviewer)">
      <documentation>Assign a new reviewer for this Issue.</documentation>
      <extensionElements>
        <activiti:formProperty id="selectedReviewer" name="Select Reviewer" type="user" required="true" proposedValues="${proposedUsers}"></activiti:formProperty>
        <activiti:taskListener event="create" class="com.collibra.dgc.core.workflow.activiti.tasklistener.ProposedValuesTaskListener">

<userTask id="reassign_reviewer" name="Reassign reviewer" activiti:candidateUsers="role(Reviewer)">
      <documentation>Assign a new reviewer for this Issue.</documentation>
      <extensionElements>
        <activiti:formProperty id="selectedReviewer" name="Select Reviewer" type="user" required="true"></activiti:formProperty>

I know the disappearing attribute is a custom attribute, but is it normal they disappear when saving ?

I also noticed that all my executionlisteners on <userTask> elements are gone after saving.

Is this a bug or should I be doing these things in another way ?

Outcomes