05-18-2016 05:46 PM
<select id="selectSignalEventSubscriptionsByEventName" resultMap="eventSubscriptionResultMap" parameterType="org.activiti.engine.impl.db.ListQueryParameterObject">
select *
from ${prefix}ACT_RU_EVENT_SUBSCR EVT
left outer join ${prefix}ACT_RU_EXECUTION EXC on EVT.EXECUTION_ID_ = EXC.ID_
where EVENT_TYPE_ = 'signal'
and EVENT_NAME_ = #{parameter.eventName}
and (
(EVT.EXECUTION_ID_ is null)
or
(EVT.EXECUTION_ID_ is not null AND EXC.SUSPENSION_STATE_ = 1)
)
<if test="parameter.tenantId != null">
and EVT.TENANT_ID_ = #{parameter.tenantId}
</if>
<if test="parameter.tenantId == null">
and (EVT.TENANT_ID_ = '' or EVT.TENANT_ID_ is null)
</if>
</select>
select * from ACT_RU_EVENT_SUBSCR EVT left outer join ACT_RU_EXECUTION EXC on EVT.EXECUTION_ID_ = EXC.ID_ where EVENT_TYPE_ = 'signal' and EVENT_NAME_ = ? and ( (EVT.EXECUTION_ID_ is null) or (EVT.EXECUTION_ID_ is not null AND EXC.SUSPENSION_STATE_ = 1) ) and EVT.TENANT_ID_ = ?
select * from ACT_RU_EVENT_SUBSCR EVT
left outer join ACT_RU_EXECUTION EXC on EVT.EXECUTION_ID_ = EXC.ID_
where EVENT_TYPE_ = 'signal'
and EVENT_NAME_ = 'UserUpdated'
and ( (EVT.EXECUTION_ID_ is null) or (EVT.EXECUTION_ID_ is not null
AND EXC.SUSPENSION_STATE_ = 1) ) and EVT.TENANT_ID_ = 'tenant1'
05-18-2016 08:24 PM
05-26-2016 09:25 AM
05-26-2016 10:12 AM
06-02-2016 01:49 PM
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.