AnsweredAssumed Answered

Two separate API endpoints for process instances

Question asked by onkovic on Sep 19, 2018
Latest reply on Oct 3, 2018 by bassam.al-sarori

The Alfresco Process Services REST API, as well as the Activiti the REST API, differentiate between historic process instances and process instances. Can somebody explain why this distinction is made since they both refer to the same object?

 

The thing I don't get is, why there even are two separate API endpoints. I feel like it would be easier to set a boolean property like "hasEnded" for every process instance and only use a single API endpoint for process instances.

 

But maybe I'm not getting something completely obvious here and it has something to do with performance, certain restrictions or something else. Could anybody help me understand this?

 

 

Thank you in advance!

Outcomes