[jboss-user] [jBPM Users] - Re: nested forks

2009-11-19 Thread makam
Thank you very much for the contribution, both solutions worked.
in the end I did was change the line that You mentioned earlier,
concurrentRoot = execution.getParent (); by concurrentRoot = execution;
and it worked perfectly

Thank you very much ;)
Greetings

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266536#4266536

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266536
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested Forks

2009-11-18 Thread makam
I just post as a incident. with the test case.

Greetings.

Sebatian

https://jira.jboss.org/jira/browse/JBPM-2648

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266271#4266271

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread makam

Thank you very much for your help, I have already reported the bug.
You think of any alternative for the management of the Fork? because I need to 
shoot 2 tasks,and one of the optional, which is not controlled at the end. 
but without a Fork not how.
here ther is an example but not working 

I would like the task 2 shot in Task 3 and Task 4, but I can not achieve.


  | process name=c xmlns=http://jbpm.org/4.0/jpdl;
  |start g=15,176,48,48 name=start1
  |   transition to=task1/
  |/start
  |end g=655,182,48,48 name=end1/
  |task g=241,173,92,52 name=task2
  |   transition to=task4/
  |   transition to=task3/
  |/task
  |task g=357,61,92,52 name=task3
  |   transition to=task5/
  |/task
  |task g=362,327,92,52 name=task4
  |   transition to=task5/
  |/task
  |task g=113,174,92,52 name=task1
  |   transition to=task2/
  |/task
  |task name=task5 g=489,181,92,52
  |   transition to=end1/
  |/task
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266383#4266383

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread makam
Here is the link of the Bug report.

https://jira.jboss.org/jira/browse/JBPM-2650

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266384#4266384

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - nested forks

2009-11-17 Thread makam
Hi,
I have a situation where you have two nested fork, at the first fork left a 
task unfinished and launched the second fork with two more tasks, but when it 
launches the second fork, I repeat one of the tasks of the second Fork.
it means if the second Fork is associated with(Task 1, Task 2), when executed, 
throws (Task 1, Task 2, Task 1).
The second fork should not only launch their two tasks?, By repeating one of 
them?. this is normal operation with two nested Fork?.

Greetings

Sebastian.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266097#4266097

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-17 Thread makam
I understand your idea, but i think that is  not my situation.
I am attaching an example.


  | 
  | process name=a xmlns=http://jbpm.org/4.0/jpdl;
  | 
  |start g=5,129,48,48 name=start1
  |   transition to=fork1/
  |/start
  |end g=957,121,48,48 name=end1/
  |
  |task g=321,197,92,52 name=task2 swimlane=B
  |   transition g=444,222: to=join2/
  |/task
  |task g=75,384,92,52 name=task3 swimlane=A
  |   transition g=684,410: to=join1/
  |/task
  |task g=745,120,92,52 name=task8
  |   transition to=end1/
  |/task
  |task g=513,120,92,52 name=task9 swimlane=B
  |   transition to=join1/
  |/task
  |task g=324,46,92,52 name=task1 swimlane=C
  |   transition g=440,70: to=join2/
  |/task
  |fork g=266,125,48,48 name=fork2
  |   transition g=289,73: to=task1/
  |   transition g=292,226: to=task2/
  |/fork
  |join g=417,123,48,48 name=join2
  |   transition to=task9/
  |/join
  |join g=652,119,48,48 name=join1
  |   transition to=task8/
  |/join
  |fork g=93,126,48,48 name=fork1
  |   transition to=task3/
  |   transition to=fork2/
  |/fork
  | /process
  | 
  | 

In this case, it`s repeating Task1 in the second Fork (fork2).

Thanks for responding so fast. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266118#4266118

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266118
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-17 Thread makam

I attach a test case for the situation described above.

Greetings and thanks for the support so far.

Sebatian


  | package org.jbpm.examples.task.swimlane;
  | 
  | import java.util.List;
  | 
  | import org.jbpm.api.task.Task;
  | import org.jbpm.test.JbpmTestCase;
  | 
  | /**
  |  * @author Tom Baeyens
  |  */
  | public class TaskSwimlaneTest extends JbpmTestCase {
  | 
  |   String deploymentId;
  |   
  |   protected void setUp() throws Exception {
  | super.setUp();
  | 
  | deploymentId = repositoryService.createDeployment()
  | 
.addResourceFromClasspath(org/jbpm/examples/task/swimlane/process.jpdl.xml)
  | .deploy();
  | 
  |   }
  | 
  |   protected void tearDown() throws Exception {
  | // delete process deployment
  | repositoryService.deleteDeploymentCascade(deploymentId);
  | 
  | super.tearDown();
  |   }
  | 
  |   public void testTaskSwimlane() {
  | executionService.startProcessInstanceByKey(TaskSwimlane);
  | 
  | ListTask taskList = taskService.createTaskQuery().list();
  | assertEquals(3, taskService.createTaskQuery().list().size());
  | assertEquals(Expected only 3 task in task list, 3, taskList.size());
  |   }
  | }
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266159#4266159

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266159
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - candidate-groups

2009-11-16 Thread makam
Hi,
I have a problem when seeking tasks using candidate-groups.
I created tarea1 which has associated candidate-groups Group1, Group2, Group3.
Then I have a user sebastian which is a member of Group 1, Group 2 and Group 
3.
The problem is that when I run taskService().findGroupTasks(sebastian);
I returned a list of 3  tasks equal,  Tarea1, Tarea1, Tarea1. When it should be 
listed just once the task (Tarea1).
I'm not sure if it's a conceptual issue or a bug in the API.
I would be grateful for your help.
P/d: I'm not using swimlane because I had problems with respect to the Fork / 
Join.

Greetings. Sebastian





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265895#4265895

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265895
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: candidate-groups

2009-11-16 Thread makam
Thanks, I just post as a incident.
Greetings
Sebatian


https://jira.jboss.org/jira/browse/JBPM-2648

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265946#4265946

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - nested Forks

2009-10-13 Thread makam
I am having problems with the Forks, I'm not sure if it's a conceptual problem 
or a Bug.
When released two nested Forks, suppose that the second fork has 2 tasks (T1 
and T2), at runtime repeats one of the tasks, ie tasks Launches (T1, T2 and T1 
again) when it really should throw only T1 and T2.
This situation happens only if the first Fork launches at least 1 task and a 
Fork, Fork in this case explained above.

Yours sincerely.

Sebatian



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4260122#4260122

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260122
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Integration problem of jBPM 4, Spring and Hibernate

2009-10-06 Thread makam
Hy , sorry by my english,
Meaby can you help me...

I have integrated jbpm4 with spring and hibernate, and everything work perfect, 
but i have problems with the delete, i can`t delete anything from de jbpm 
database, it throw me and java.lang.NullPointerException , i`don´t know what 
hapend because all the functions of the jbpm Api work perfect, createUser, 
CrearDeploy , etc...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258939#4258939

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258939

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Error while deleting in jbpm 4

2009-09-25 Thread makam
Hi, sorry by my english,
I have some problem, maybe you can help me,
i´m working with jBPM 4.0 with spring and hibernet, i have integreted jbpm to 
my solution and everything worked perfect , but i can´t delete anything from 
Data base, i´m using MySQL . I can do the deploy of the process and get 
instance and create user and everything, but i can´t delete anything, it throw 
me an java.lang.NullPointerException but the id are ok.
well thaks ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257070#4257070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257070

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user