(1) Where any person is sentenced to incarceration then such person shall during the term of the sentence, carry out such duties and tasks as may be specified in any correctional facility regulations and assigned to such person.
(2) Subject to any correctional facility regulations, any inmate may, with the approval of the Director, be taken beyond the limits of a correctional facility to carry out such duties and tasks as may be specified in such regulations and such inmate shall be deemed to be in lawful custody in the correctional facility and shall be subject to the correctional facility discipline in the event that he or she commits any breach of this Act or the regulations.