I am trying to create a action for a form to save, close and create a new document (for sequencial document filling out).
Now I do know how this is done, there are tonns of examples in here.
I would like to create this as a shared action once in a database and use it everywhere. The tricky bit (and it has not worked so far) is making the code recognize what form the document is using and creating another one of these.
I’m trying to access the form field, but even after saving the doc, it is still empty. If I save the document by hand, then the field is set and the whole thing works.
Did anybody ever try to produce this script/code? Do I need to use an agent (to create the new document after the old one is closed) or is this possible in formula?
I guess there would be wide use for this script, since this functionality is used all the time.