Determine which record was duplicated from On Success workflow
There is a duplicate button on reports and if you duplicate a record, the On Validate and On Success scripts of the form will run. How do I determine the record that was duplicated from within the On Validate and On Success?
I'd like to determine the record that was duplicated because I am using subforms and then those subforms have subforms of their own. Only the first level of subform records is duplicated with the Duplicate button and I'd like to duplicate the rest using code..