Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Are Exercise event child events sorted?Forum ↗

Are Exercise event child events sorted?

App Development2 posts130 views1 likesLast activity Apr 2022
LE
Leonid_RozenbergOP
Apr 2022

In particular, are the events, as returned by an ExerciseEvent’s getChildEventIds in the order that the events are executed?

if they are not, what is the canonical way to put them into the order they were executed?

CO
cocreature
Apr 2022

Yes they are ordered just like you would have created them in Daml. Note that this applies to getChildEvents and getRootEventIds. It does not apply to getEventsById on the tree, you have to traverse the tree to get the order.

← Back to Discussions