Fixed part.getconnectedresources to use flowmode parameter added in 24.2

Updated for 24.2, fixed part.getconnectedresources to use flowmode
parameter added in 24.2