在 HCL Connections 6.5.1 上启用 HCL 接触点后。根据默认配置,我们setTimeDuration
在/mnt/opt/IBM/WebSphere/AppServer/profiles/CnxNode01/installedApps/CnxCell/Touchpoint.ear/touchpoint.war/js/startup.js
. 所以它应该只在 6 个月后重新出现。但在我的测试用户中,它会在大约 1 小时后重新出现。
分析问题:已删除completed
状态
为了调试/分析这一点,我发现接触点将其数据存储在PEOPLEDB
数据库中,其中包含一个表EMPINST.PROFILE_EXTENSIONS
。它用于PROF_PROPERTY_ID = 'touchpointState'
存储接触点完成时的时间戳(= 用户确认所有步骤)。在这种情况下,PROF_VALUE
包含类似 JSON {"state":"complete","timestamp":1599763075000}
,这意味着用户在 2020 年 9 月 10 日完成了它。
我创建了以下查询,以从已完成的用户那里以人类可读的形式获取名称、时间戳和日期:
SELECT e.PROF_DISPLAY_NAME, ext.PROF_VALUE, replace(REPLACE(ext.PROF_VALUE, '}', ''), '{"state":"complete","timestamp":', '') AS timestamp,
date((((replace(REPLACE(ext.PROF_VALUE, '}', ''), '{"state":"complete","timestamp":', '') / 1000)-5*3600)/86400)+719163) AS date
/*SELECT count(*)*/
FROM EMPINST.PROFILE_EXTENSIONS ext
LEFT JOIN EMPINST.EMPLOYEE e ON (e.PROF_KEY=ext.PROF_KEY)
WHERE PROF_PROPERTY_ID = 'touchpointState'
ORDER BY replace(REPLACE(ext.PROF_VALUE, '}', ''), '{"state":"complete","timestamp":', '') desc
示例结果:
虽然这似乎可行,但我在一段时间后(大约 1 小时)重新运行了这个查询,所有这些新行都消失了!他们已从数据库中删除。结果,用户再次被重定向到接触点,并且必须再次完成它。
我不知道他们为什么被删除以及我们如何阻止它。在第一次运行时,他们在一个管理员用户完成接触点后被删除。但后来也在普通用户运行它们之后。