09-18-2012 04:50 AM
taskService.createTaskQuery().taskCandidateGroupIn(roleNames).taskCandidateUser(user.getUsername()).orderByDueDate().asc().list();
but I got ActivitiException - Invalid query usage: cannot set both candidateUser and candidateGroupIn
<if test="candidateUser != null || candidateGroups != null">
and T.ASSIGNEE_ is null
and I.TYPE_ = 'candidate'
and
(
<if test="candidateUser != null">
I.USER_ID_ = #{candidateUser}
</if>
<if test="candidateUser != null && candidateGroups != null && candidateGroups.size() > 0">
or
</if>
<if test="candidateGroups != null && candidateGroups.size() > 0">
I.GROUP_ID_ IN
<foreach item="group" index="index" collection="candidateGroups"
open="(" separator="," close=")">
#{group}
</foreach>
</if>
)
</if>
07-14-2015 03:29 PM
07-21-2015 06:59 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.