cancel
Showing results for 
Search instead for 
Did you mean: 

TaskActivityBehavior.leave(execution) vs ActivityExecution.end()

boekhold
Champ in-the-making
Champ in-the-making
Hi,

As per the subject, are these 2 equivalent?

  • calling
    leave(execution)
    inside a class extending
    TaskActivityBehavior
  • calling
    execution.end()
    on an instance of
    ActivityExecution
    anywhere
Maarten
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No. The end() method will mark the execution as ended and will not be reused. In the leave() case chances are high that the execution is reused.

Note that the engine will evolve to have only leave() in the future, and the end() will be gone, replaced by a better and cleaner mechanism.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.