• QuerySave and PostSave

    By Sjef Bosman 2 decades ago

    In the current release, one can only indicate that some script-code should be executed pre- or post-save. I need pre- AND post-save. Could you investigate the possibility to include both a QuerySave script and a PostSave script, more or less like the events on a form? You could define more events, e.g. the QuerySaveOnServer and PostSaveOnServer events. With those two, you can remove the options for a 2-Stage Script and Execute Post-save.



    I don't mind to help you with the developments.

    • good one

      By Mark Demicoli 2 decades ago

      sure there's definitely a limitation there, what you're suggesting makes sense.



      Thinking simplistically here, you could literally duplicate the Procedures functionality and have two separate tabs (presave and postsave).?

      • By Sjef Bosman 2 decades ago

        Why not? As I suggested, if you create event-like script boxes, QueryXX and PostXX, each in their own context, i.e. UI or background, the WF-developer can choose the events he needs. Now I have to think in circles sometimes, I have this action that should be run when saved but when the document is saved the current user no longer has rights… It's not easy, being green…