04-22-2015 02:24 AM
processEngine.getIdentityService().createUserQuery().list().get(0).getId()
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name ="customSessionFactories">
<list>
<bean class="lu.poc.user.sessionfactory.POCGroupManagerFactory"/>
<bean class="lu.poc.user.sessionfactory.POCUserManagerFactory"/>
</list>
</property>
<property name="jdbcUrl" value="jdbc:h2:tcp://localhost/~/activiti" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="true" />
<property name="asyncExecutorEnabled" value="true" />
<property name="asyncExecutorActivate" value="true" />
<property name="mailServerHost" value="mail.my-corp.com" />
<property name="mailServerPort" value="5025" />
<property name="beans">
<map>
<entry key="POCBPMService" value-ref="POCBPMService" />
</map>
</property>
</bean>
<bean id="POCBPMService" class="lu.poc.workflow.servicetask.POCBPMService"/>
</beans>
04-24-2015 09:15 AM
04-29-2015 09:17 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.