Support precondition activities that will return an http error or custom error if the precondition does not hold