I am building a workflow in which I want to be able to run a number of parallel tasks, and track the completed vs not-yet-completed tasks, and I am curious as to opinions on the best way to do this.
Looking through the docs, I experimented with the history/task API (since the regular task fetch only returns incomplete tasks) and tasks returned there have an endTime property, which makes it clear that it is a completed task. Is there anything wrong with using the history/task API to track task progress in this way? Someone else at my company had said they spoke with someone with Camunda who said not to make use of this API this way, so I wanted to check for myself if anyone from Camunda is able to weigh in.
The only alternative I see is to use our own database and to track completed tasks with it by recording the task status there.
Any info is great. Thanks!