摘要: 在K2 Blackpearl的安装目录里找到K2HostServer.config文件,修改如下:<appSettings> <!-- Time in seconds. Default is 1 Hour. This setting determines the amount of time before the server will check if any groups in the cache needs to be refreshed. This setting must either be shorter, or the same amount of time a 阅读全文
posted @ 2011-08-15 22:32 DannyLi 阅读(559) 评论(2) 推荐(0) 编辑
摘要: K2 blackpearl项目中经常需要将其他数据中的表注册到K2服务中,然后使用Smart Object进行封装,在Project或K2 Process中直接访问封装好的Smart Object中的字段,这样十分方便使用。例如,在K2 Process中,配置Activity对应的审批人(Destination Users),根据需求,这里需要从HR的数据库中的表EmployeeInfo中取得字段EmployeeName,而且这一过程是实时取数据,不需要周期性的同步,那么我们就可以把HR数据库注册到K2中,然后使用Smart Object予以封装,在配置时从Smart Object中获取数据. 阅读全文
posted @ 2011-08-15 15:34 DannyLi 阅读(834) 评论(0) 推荐(1) 编辑