Concurrent nodes are ordered as actioned (by the time they were actioned),
then the currently viewed pending approval if
currentlyViewingFormSubmissionApprovalId is provided, then remaining
unactioned nodes in definition order. Sequential steps around a concurrent
group are not reordered.
Inputs a form approval flow instance and set of form submission approvals and returns a flattened array of nodes/steps with inlcuded metadata.
Example
Concurrent nodes are ordered as actioned (by the time they were actioned), then the currently viewed pending approval if
currentlyViewingFormSubmissionApprovalIdis provided, then remaining unactioned nodes in definition order. Sequential steps around a concurrent group are not reordered.