public WorkflowModel decide(String workflowId) {
        StopWatch watch = new StopWatch();
        watch.start();
        if (!executionLockService.acquireLock(workflowId)) {
            return null;
        }
        try {

            WorkflowModel workflow = executionDAOFacade.getWorkflowModel(workflowId, true);
            if (workflow == null) {
                // This can happen if the workflowId is incorrect
                return null;
            }
            return decide(workflow);

        } finally {
            executionLockService.releaseLock(workflowId);
            watch.stop();
            Monitors.recordWorkflowDecisionTime(watch.getTime());
        }
    }
Records a metric for the "decide" process.
core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java