FAQ: Should I select Scheduled or Realtime when exporting data from Salesforce to NetSuite?

If you are creating a custom flow to send information from Salesforce to NetSuite, you have two options for exporting data from Salesforce: Scheduled and Realtime.

For Scheduled, you can create a SOQL query to fetch the data from Salesforce. 

Realtime is the option where you would need to write Salesforce APEX code. In this case, after you selected the SObject type you want to use (such as Account), we then provide you with the Required trigger in APEX code. So you don't have to write anything! All you need to do is copy this trigger code and insert it into the trigger you create manually in your Salesforce account.

For example, for Account:

trigger <name> on Account (after insert, after update) 
{
integrator_da__RealTimeExportResult
result=integrator_da__RealTimeExporter.processExport();
}

The function processExport() replaces run() above to resolve infinite loop issues and resolves issues with runBatch() (which we do not recommend using). 

1

Comments

0 comments

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post