question: public Object loadStepData ( String stepOrWorkflowId , String key ) { Workflow workflow = null ; if ( stepOrWorkflowId . matches ( WORKFLOW_URI_Match ) ) { workflow = loadWorkflowFromUri ( URI . create ( stepOrWorkflowId ) ) ; if ( workflow != null ) { return loadStepData ( workflow . getWorkflowURI ( ) , key , stepOrWorkflowId ) ; } } else { workflow = getWorkflowFromStepId ( stepOrWorkflowId ) ; if ( workflow != null ) { return loadStepData ( workflow . getWorkflowURI ( ) , key , stepOrWorkflowId ) ; } } _log . info ( String . format ( "No step data found for %s (workflow not found)" , stepOrWorkflowId ) ) ; return null ; }
target:  Simplified method that will load step data using either a workflow id or a step id to locate the workflow. 