The draw for the SPFL Tunnock's Caramel Wafer Challenge Cup fourth round took place at 12.30pm live on YouTube from Hampden Park in Glasgow.
Wrexham AFC were drawn against St Mirren Colts at The Racecourse Ground.
The fourth round ties are scheduled to take place on the weekend of 12/13 October 2019. Once arrangments have been made and any TV picks confirmed, the club will inform supporters on the usual channels.
Arbroath v Clyde
Airdrieonians v Elgin City
Raith Rovers v Glenavon
Partick Thistle v Connah's Quay Nomads
Wrexham v St Mirren Colts
Stenhousemuir v Waterford
Solihull Moors v Ballymena United or Rangers Colts
Inverness Caledonian Thistle v Alloa Athletic
The Dragons were entered in to the Scottish competition to represent the Vanarama National League alongside Solihull Moors. Qualification for National League representitive clubs is the result of the two highest placed clubs from the previous season who did not gain promotion.