I am using DocGen for Salesforce installed package in Salesforce. I need to run some Salesforce transactions (i.e. Flows and Apex code) after the output files are inserted into Salesforce when a DocGen package run from Salesforce is completed successfully. I know the only way to guarantee that the transactions run only after the output files are inserted back into Salesforce, is by using an Apex Trigger on Content Document Link. However, I am looking for an alternative to this approach.
If there is some official Nintex documentation that describes the order of operations, that would be very helpful. I want confirmation that ‘Create/Edit Record’ transaction runs only after Content Document Link insert is completed.


