How can i check, the current task is last task of process?

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

How can i check, the current task is last task of process?

Hi Team,

     I am using activiti in my spring web application. I would like to know that the current task is the last task of the process. Please let me know if you have an idea.

Thanks

1 Reply
Highlighted
Senior Member

Re: How can i check, the current task is last task of process?

Can you please elaborate a little bit more on that? 

What is the scenario that are you trying to solve? I wonder in which situation you need to know about that data.

parsing the process model with the bpmn2 parser and doing some checks might be one approach, but I wouldn't recommend going that way unless is extremely necessary.