Manually finish the Execution of a Service Task (stopped by Implementing ActivityBehavior)


So I am using Service Tasks in a Java EE application, and the idea is to continue with the normal execution of the process if the service tasks are successful, if not, I want to leave them unfinished, and then manually “close” them from outside. Similarly to the User Tasks.

I implemented the ActivityBehavior interaface, and I want to continue with the execution if there are no exceptions in the Service Task. If there are, I want to leave the task unfinished, and then manually “finish” it from the outside. Is there a way to do this in Camudna? Thanks in advance.