I'm using JBPM workflow in my project.
Requirement : I have two user task. Here, my workflow falls on first task say 'Task-1'. And that is assigned to a user say 'User-A'. User-A is working on it. Meanwhile, for some condition, i need to hold the 'Task-1' and create another task say 'Task-2'. That task is assigned to another user says 'User-B'. Once 'Task-2' is completed, i need to go back to 'Task-1' with its appropriate status. ie., assigned state with User-A.
How can i do this requirements using Java along with JBPM Workflow/Drools
Thanks in advance