RFC: Replay process execution in bpmn-js model


This is more of a idea then anything, but would be interesting to hear if anyone has explored this previously.

I think that it would be useful to have the ability to replay process execution of the bpmn model.

Does anyone know how this could be possible?

My first thought would be to create a web app that connects to the history tables in the database.
Here we can pull data on process execution and translate this into something that renders in the bpmn-js viewer.

Is this feasible?

Ideas welcome!