helper method to get a flow actionRefs