I started learning Neo4J and pretty new to the concepts. I am not sure if we can represent a business process in Neo4J. Suppose there is a process with different steps to fix a damaged cricket bat. How do I represent the flow and steps?
Also, consider that I am building a website which helps users to fix the damaged cricket bats by themselves. While they going thru the steps on the website, how do I show the recommended products needed to fix the damaged bats on the same web page?(how would I connect these products to that process?)
My questions may be too generic but expecting someone understood my requirement.
@jk05802 What I do is use the BPMN business process modelling language. All business processes are trees (they have exactly one starting point) and all trees are graphs. There can be multiple outcomes.
You can model a business process in BPMN using something like Camunda engine, then export the XML. Following that you can transform the XML to ingest the BPMN graph into Neo4j.
Finally once you have done that, you can ask questions like the following:
* Given I'm on step x in a process, what is the shortest path to desired outcome y?
* For all of the instances of a process, what is the step that takes the longest? If it was sped up by x%, what would the total savings be?
* Given I'm on step x of a process, what are the possible outcomes from here?
I will write a blog about the above in future. In the meantime, have fun!
Thank you so much @jasperblues. I was looking for this answer. Will try to use Camunda and ingest BPMN graph into Neo4J. Looking forward to reading your blog.