menu += "}\n</script>";
return menu;
} else if ("Yes".equals(getPropertyString("runProcessDirectly"))) {
ApplicationContext ac = AppUtil.getApplicationContext();
AppService appService = (AppService) ac.getBean("appService");
PackageActivityForm startFormDef = appService.retrieveMappedForm(getRequestParameterString("appId"), getRequestParameterString("appVersion"), getPropertyString("processDefId"), WorkflowUtil.ACTIVITY_DEF_ID_RUN_PROCESS);
if (startFormDef == null || startFormDef.getFormId() == null) {
String url = getUrl();
if (MobileUtil.isMobileView()) {
url = url.replace("/web/userview", "/web/mobile");