Currently getNextSequence() makes it possible to create a uniqueid on the form (client side) using the username followed by the output of this function. This works well except it is not incremented when a record is duplicated - only when a new record is created.
No amount of scripting will make this work currently.
At the moment the only workflow that guarantees a unique I'd is the uniqueid widget - however this is a server side solution that is not ok for every workflow.
I would like to have the function changed (or anotherone created) that:
sees a duplication the same as a create for the purpose of the counter (i.e. even a duplicated record will need a new id)
have the ability for the dynamic value to be calculated for the duplicated record (so that the field can be assigned the new number.
Please sign in to leave a comment.