02-05-2014 10:14 PM
02-06-2014 01:46 AM
2. how will be the process get deployed ? Do we need to invoke the rest api for deployment of the bar or process xml files. If yes can you please share the rest api method which will be used.http://www.activiti.org/userguide/#N12F2D
3. If a custom form is used for a user task how will the form fields be mapped to process variables and how will it interact with the activiti tables at run time.
02-06-2014 01:53 AM
1. Will the activiti process engine start from the spring context file or we should start it using a controller with load on start up process.
protected static void initProcessEngineFromSpringResource(URL resource) {
try {
Class< ? > springConfigurationHelperClass = ReflectUtil.loadClass("org.activiti.spring.SpringConfigurationHelper");
Method method = springConfigurationHelperClass.getMethod("buildProcessEngine", new Class<?>[]{URL.class});
ProcessEngine processEngine = (ProcessEngine) method.invoke(null, new Object[]{resource});
String processEngineName = processEngine.getName();
ProcessEngineInfo processEngineInfo = new ProcessEngineInfoImpl(processEngineName, resource.toString(), null);
processEngineInfosByName.put(processEngineName, processEngineInfo);
processEngineInfosByResourceUrl.put(resource.toString(), processEngineInfo);
} catch (Exception e) {
throw new ActivitiException("couldn't initialize process engine from spring configuration resource "+resource.toString()+": "+e.getMessage(), e);
}
}
02-06-2014 02:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.