Challenge Overview
-
When we add/update any
ResourceBookingwe have to check if the correspondingJobhasnumPositions === length(ResourceBooking with status === "assigned"). And if so, then update the status of theJobtoassigned. -
If we change
Jobstatus tocancelled. Then we should change the status of all ~ResourceBookingand~ (updated: don't change status for ResourceBookings)JodCandidaterelated to this job tocancelled.