When only the process model is uploaded, the JSON parameters are created from scratch. For each gateway, it should create an object with the ID of the outgoing flow and its probability. For example:
But, when creating the JSON from scratch, instead of the flow ID, it writes the ID of the node that each flow is pointing at. I understand that for visualization purposes, showing the ID of the node it's pointing at is better for the user, but it should store the ID of the flow in the JSON, like SIMOD does when generating the JSON.
When only the process model is uploaded, the JSON parameters are created from scratch. For each gateway, it should create an object with the ID of the outgoing flow and its probability. For example:
But, when creating the JSON from scratch, instead of the flow ID, it writes the ID of the node that each flow is pointing at. I understand that for visualization purposes, showing the ID of the node it's pointing at is better for the user, but it should store the ID of the flow in the JSON, like SIMOD does when generating the JSON.
assets.zip