public String getLastRevision(String siddhiAppName) {
        return siddhiContext.getPersistenceStore().getLastRevision(siddhiAppName);
    }
Method to retrieve last revision for siddhi app by providing the name.

@param siddhiAppName Name of the required Siddhi app
@return revision
modules/siddhi-core/src/main/java/io/siddhi/core/SiddhiManager.java