Another way to do this is to determine the closest day of the week
after today and send it to the org-read-date
function.
(defun schedule-next-tuesday-or-friday ()
(let* ((dow (format-time-string "%a" (current-time)))
(future-dow (pcase dow
((or "Sat" "Sun" "Mon") "Tue")
(_ "Fri"))))
(format-time-string (car org-time-stamp-formats)
(org-read-date nil t future-dow))))
In the template add:
\nSCHEDULED: %(schedule-next-tuesday-or-friday)
The %(sexp)
is evaluated and replaced with the result. See org-capture-templates
for more information.