When using the query processes instances with param “involvedUser”, the processes instances returned include only the instances that the user created, the instances that user has tasks assgined to him or both?
In the documentation only says “involved user” for me is too generic.
the select with involved user constructs the query with
<if test="involvedUser != null">
and EXISTS(select ID_ from ${prefix}ACT_RU_IDENTITYLINK I where I.PROC_INST_ID_ = RES.ID_ and I.USER_ID_ = #{involvedUser})
</if>
So the answer is all process instances with indentity links where user is involved.