snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java
public static String getServletContextPath(
			ProcessEngine processEngine, String processDefinitionId) {

		return getServletContextPath(getProcessApplicationInfo(processEngine, processDefinitionId));
	}
public static String getServletContextPath(
			ProcessEngine processEngine, String processDefinitionId) {

		return getServletContextPath(getProcessApplicationInfo(processEngine, processDefinitionId));
	}
Retrieve the servlet context path of a process definition from a known process engine.