cancel
Showing results for 
Search instead for 
Did you mean: 

problem about Activiti extensions for task assignment

chnxan
Champ in-the-making
Champ in-the-making
Hi
sorry, my english is very poor.
I hope you understand these words.
thanks!

What can i do if i don't use Activiti  extensions .


like this:

<userTask id="Multi" name="Multi" activiti:assignee="a">
      <extensionElements>
        <activiti:taskListener event="create" class="com.test.bpm.listener.MultiConfirmListener"></activiti:taskListener>
      </extensionElements>
</userTask>
I will

public class MultiConfirmListener extends BaseListener implements TaskListener {

   public void notify(DelegateTask delegateTask) {
      Collection multiList = (Collection) delegateTask.getVariable("multiList");
      delegateTask.addCandidateUsers(multiList);
   }
}
I don't use Activiti  extensions.
But, if there is no  "activiti:assignee="a", the designer will report a error and can't save to BPMN 2.0 format correctly.
The BPMN20.xml dose not have the user_task I defined just now.

thanks!
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

Currently the Activiti Designer writes BPMN 2.0 XML with Activiti extensions, but it can read BPMN 2.0 compliant XML files.
There's no way to turn this off right now.

Best regards,