Save the active psd document in TIFF format in the parent folder of the active document

ok got it!

  1. use executeAsModal
  2. remove "modalBehavior": "fail"