Error on deploying the Activiti Process.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2014 04:48 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014 03:32 AM
Hi Pavan.
Could you create jUnit test for it?
http://forums.activiti.org/content/sticky-how-write-unit-test
Regards
Martin
Error : org.activiti.engine.ActivitiException: The deployment contains process definitions with the same key (process id atrribute), this is not allowedError says that your deployment contains process definitions with the same key.
Could you create jUnit test for it?
http://forums.activiti.org/content/sticky-how-write-unit-test
Regards
Martin
