class AAIDeleteTasks {

    public void deleteConfiguration(BuildingBlockExecution execution) {
        try {
            Configuration configuration = extractPojosForBB.extractByKey(execution, ResourceKey.CONFIGURATION_ID);
            aaiConfigurationResources.deleteConfiguration(configuration);
        } catch (Exception ex) {
            logger.error("Exception occurred in AAIDeleteTasks deleteConfiguration process", ex);
            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex);
        }
    }

}