AnsweredAssumed Answered

Custom Task Copy Paste Issue

Question asked by navienkmr on Mar 22, 2016
Latest reply on Mar 22, 2016 by navienkmr
Hi,

I am using activiti designer version 5.12.0. I have created few custom tasks.

The service task xml of the custom task looks like this

<serviceTask id="servicetask5" name="Database Task" activiti:class="com.xyz.server.abc.SomeDelegation" activiti:extensionId="persistence.DBTaskModel">
      <extensionElements>
        <activiti:field name="evidenceRequired">
          <activiti:string>false</activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>

But when I copy and paste the same task in the same bpmn then the attribute class is getting missed.

<serviceTask id="servicetask9" name="Database Task" activiti:extensionId="persistence.DBTaskModel">
      <extensionElements>
        <activiti:field name="evidenceRequired">
          <activiti:string>false</activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>

Outcomes