The industrial action will take place on 23 August and 4 September.