Retool Storage move file to folder file exist success

Can we get the option to 'consider queries that update zero records as successes' to help keep log files a bit cleaner?

the only workaround I found was to modify the 'Failure conditions':
image

2 Likes

Hi @bobthebear ,

Thanks for reaching out. I will file this request internally with the team, though I can also see the argument that a naming conflict constitutes an error? I wonder if maybe it would be better to configure the action to accept vs reject overwrites.

ya I see what you mean with the naming conflict.... instead of one option for 'consider queries that update zero records as successes', i guess you'd need 2:

  • on conflict overwrite file
  • on conflict ignore error

do you mean the success/failure event handlers? or use JS to get the promise returned by .trigger() and handle resolve/reject conditions myself with Promise.withResolvers() or some kind of wrapper?

Oh I was just trying to explain what you did about needing those 2 config options. As a workaround in the meantime, I think what you've been doing w the failure condition makes sense!

1 Like