The default action for template configuration is to delete it after execution. If, however, you need to persist the Nifi template configuration, you must first make a few changes to the Fetchfile processor in the API process group.Navigate to API >> routeSQL, and double-click (or right-click >> Configure) FetchFile processor.In the Configure Processor dialog box, click the Properties tab, and ensure that the Completion Strategy is changed from the default (Delete File) to None. You can also select Move File (which allows you to choose a different destination for the template file, but you need to specify the Move Destination Directory).The generated template files should now persist after process execution.