public void deleteWorkflow(String workflowId, boolean archiveWorkflow) {
        executionService.removeWorkflow(workflowId, archiveWorkflow);
    }
Removes the workflow from the system.

@param workflowId WorkflowID of the workflow you want to remove from system.
@param archiveWorkflow Archives the workflow and associated tasks instead of removing them.
core/src/main/java/com/netflix/conductor/service/WorkflowServiceImpl.java