Finding out whether process model instance is completed from java code

Hello All,
I am writing a java plugin and this plugins starts a process instance but I am unable to get information on whether this process instance is completed or not. I am using Process controller concludeProcess() method but this is throwing exception and not reliable to get that information. Any help on pointers would be appreciated

OriginalPostID-234691

  Discussion posts and replies are publicly visible