Tip: Templates with Dependent Controller Services
Consider the following flow where records are inserted in the RDBMS (or Phoenix/HBase in this instance):

The PutSQL and similar processor depends on a database connection, provided by a DBCPConnectionPool controller service (Controller Settings -> Controller Services):

The best part: when one creates a template, all linked services will automatically be included. When template is rehydrated in another NiFi instance, services like the one below will automatically be added to the new NiFi flow:


