02-07-2014 07:44 AM
SELECT *
FROM `act_hi_actinst`
WHERE ACT_TYPE_ = 'userTask'
AND ISNULL( TASK_ID_ )
SELECT
aha.ID_ ,
aha.PROC_INST_ID_,
aha.EXECUTION_ID_,
aha.ACT_NAME_,
aha.TASK_ID_ AS TASK_ID_FROM_ACTIVITI_,
aht.ID_ AS TASK_ID_FROM_TASK_TABLE_
FROM
`act_hi_actinst` aha
LEFT JOIN
`act_hi_taskinst` aht
ON
aha.PROC_INST_ID_ = aht.PROC_INST_ID_ AND
aha.ACT_NAME_ = aht.NAME_ AND
aha.START_TIME_ = aht.START_TIME_
WHERE
aha.ACT_TYPE_ = 'userTask'
SELECT * FROM (SELECT
aha.ID_ ,
aha.PROC_INST_ID_,
aha.EXECUTION_ID_,
aha.ACT_NAME_,
aha.START_TIME_,
aha.TASK_ID_ AS TASK_ID_FROM_ACTIVITI_,
aht.ID_ AS TASK_ID_FROM_TASK_TABLE_
FROM
`act_hi_actinst` aha
LEFT JOIN
`act_hi_taskinst` aht
ON
aha.PROC_INST_ID_ = aht.PROC_INST_ID_ AND
aha.ACT_NAME_ = aht.NAME_ AND
aha.START_TIME_ = aht.START_TIME_
WHERE
aha.ACT_TYPE_ = 'userTask'
) as temp
WHERE
ISNULL(TASK_ID_FROM_TASK_TABLE_)
02-07-2014 07:48 AM
02-07-2014 08:20 AM
UPDATE `act_hi_actinst` aha
INNER JOIN `act_hi_taskinst` aht
ON
aha.PROC_INST_ID_ = aht.PROC_INST_ID_ AND
aha.ACT_NAME_ = aht.NAME_ AND
aha.START_TIME_ = aht.START_TIME_
SET aha.TASK_ID_ = aht.ID_
WHERE
aha.ACT_TYPE_ = 'userTask' AND
ISNULL(aha.TASK_ID_) AND NOT ISNULL(aht.ID_);
02-07-2014 08:44 AM
02-10-2014 03:37 AM
02-10-2014 07:16 AM
02-10-2014 11:50 AM
HistoricActivityInstance activityInstance = this.historyService.createHistoricActivityInstanceQuery()
.activityInstanceId(processVar.getActualInstance().getActivityInstanceId()).singleResult();
02-11-2014 10:36 AM
02-16-2015 09:43 PM
02-18-2015 11:22 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.