How to achieve JIRA type process execution with Activiti

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

How to achieve JIRA type process execution with Activiti

Hi,

Assuming you all are aware about JIRA worklfow (sample JIRA workflow attached). JIRA provides status based workflow transition, user can define next UI screen on transition path itself which will decide screen for next status/stage but in Activiti we can't determine the next execution node from path/flow it self.

If any body has idea of how to handle such business case with Activiti framework. Workflow should handle execution flow based on statuses and path/flow should decide next execution screen.

Please note that we are using Activiti- 5.15 version and upgrade is not planned in near future, so need to achieve the expected business case with this version only.

Regards,

Paresh Modi

1 Reply
Highlighted
Established Member

Re: How to achieve JIRA type process execution with Activiti

Modi Ji, 

I can think of 2 ways

1) Have a variable in your process which basically holds the value of the state. Based on the state, your UI will change. Have an exclusive gateway after the user task to see if the state is closed. If so, then end the process, else loop it back to the user task. Assignee might keep changing as and when the user task is completed. 

2) Design multiple processes as many as the states you have. In the main process, have a call activiti and decide on which sub process to call at runtime. All the state related logic goes into the subprocesses.