public static String getServletContextPath ( String processDefinitionId ) { ProcessApplicationInfo processApplicationInfo = getProcessApplicationInfo ( processDefinitionId ) ; if ( processApplicationInfo == null ) { return null ; } return processApplicationInfo . getProperties ( ) . get ( ProcessApplicationInfo . PROP_SERVLET_CONTEXT_PATH ) ; }
Retrieve the servlet context path of a process definition from any process engine .