Just want to check if my understanding of those ids are correct.
When command(s) are submitted, a command id and workflow id are provided. However, the command id is only visible to the submitter while workflow id is visible to all parties involved.
A submission can contain multiple commands and each submission is atomic. Each submission has one command id and one workflow id. The submission will result in one transaction id (is this assumption correct?).
Each transaction id can link to multiple event id and each event id links to a state change of a contract (creation of archive). And for all the events in that transaction, it will share the same offset.
So it looks like this…
1 Submission contains (1 workflow id, 1 command id ) → 1 transaction id → many (event id, contract id)