Hi All,
I created a Activiti Project and now i Zip that project, when i am uploading the project from Activiti Explorer i get the below error.
I couldn't figure it out, could you please help me in this.
I Have uploaded my BPMN process xml file for reference and below are the java service tasks
======================================================================
/**
*
*/
package com.spark.activit.tasks;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
/**
* @author Sony
*
*/
public class RejectionTask implements JavaDelegate{
@Override
public void execute(DelegateExecution delegateExecution) throws Exception {
System.out.println("—————– Approved ————-");
}
}
==========================================================================
/**
*
*/
package com.spark.activit.tasks;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
/**
* @author Sony
*
*/
public class ApprovalTask implements JavaDelegate{
@Override
public void execute(DelegateExecution delegateExecution) throws Exception {
System.out.println("—————– Approved ————-");
}
}
====================================================================================
Here is the error i come up with
Error : org.activiti.engine.ActivitiException: The deployment contains process definitions with the same key (process id atrribute), this is not allowed
Thanks
Pavan Kumar