10-15-2012 08:32 AM
<process activiti:candidateStarterGroups="mygroup" id="myprocess" name="My Process"> //org.activiti.engine.RepositoryService
repositoryService
.createProcessDefinitionQuery()
.startableByUser("user1")
.list(); <if test="authorizationUserId != null">
AND (exists (select ID_ from ${prefix} ACT_RU_IDENTITYLINK IDN where IDN.PROC_DEF_ID_ = RES.ID_ and IDN.USER_ID_ = #{authorizationUserId})
OR exists (select IDN.ID_ from ${prefix} ACT_RU_IDENTITYLINK IDN, ${prefix} ACT_ID_MEMBERSHIP MBMR where IDN.PROC_DEF_ID_ = RES.ID_ and MBMR.USER_ID_ = #{authorizationUserId} and IDN.GROUP_ID_ = MBMR.GROUP_ID_)
)
</if>
10-15-2012 09:26 AM
10-16-2012 02: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.