To schedule the Download Action Configuration you must create one or more deployments. On each deployment you have the option to set the saved search that is containing the Download Action Configurations that should be triggered. To create a new deployment navigate to Customization > Scripting > Scripts. On this page expand the filter options and enter as type “Scheduled” and set the from bundle to “297112”. Press view on the line with the script file name “SFTP scheduled Download”
Navigate to the subtab “Deployments”. This subtab will show all created deployments. You could just schedule the default provided deployment or create a new one. The steps to alter the default provide are the same as creating a new one. We recommend to leave the default unscheduled and create a new one. To create a new deployment press on the button “Deploy script”. If you would like to use the default press on the hyperlink “SFTP Scheduled Download”.
On the Script Deployment page enter a name for the deployment and set the status to schedule. Under the subtab “Scheduled” choose how often and when the deployment must be triggered. The settings on the screenshot below are a reference of how to set up the schedule to run every 15 minutes.
Next go to the subtab named “Parameters”. Enter in the field Parameters the internal id from the saved search. You can retrieve the internal id the fastest by opening the search. In the URL in your browser you will see the following:
The value after searchid= is what you need to enter in the field.
Press save and NetSuite will now trigger the scheduled script based on the schedule you have entered.
To test the newly created deployment you must edit the deployment and set the status to “Testing”. If you hover your mouse on the save button you can choose “Save & Execute”. This will run the Download Action Configuration directly. Don’t forget to set back the status to “Scheduled”.