1.新建两张流程表格一张为当前运行的表act_ru_complement_user,一张历史表act_hi_complement_user
2.改写活字格运行任务视图,改写如下:
SELECT
`act`.`ID_` AS `ID_`,
`act`.`PROC_INST_ID_` AS `PROC_INST_ID_`,
`act`.`PROC_DEF_ID_` AS `PROC_DEF_ID_`,
`act`.`NAME_` AS `NAME_`,
`t`.`sort_first` AS `一级分类`,
`t`.`sort_second` AS `二级分类`,
`t`.`title` AS `标题`,
`t`.`subtitle` AS `副标题`,
`t`.`content` AS `详细内容`,
`act`.`DESCRIPTION_` AS `DESCRIPTION_`,
`act`.`ASSIGNEE_` AS `ASSIGNEE_`,
`act`.`CREATE_TIME_` AS `CREATE_TIME_`,
`act`.`SUSPENSION_STATE_` AS `SUSPENSION_STATE_`,
`act`.`FORM_KEY_` AS `FORM_KEY_`,
`act`.`TASK_TYPE_` AS `TASK_TYPE_`,
`act`.`TASK_BLOCK_TYPE_` AS `TASK_BLOCK_TYPE_`
FROM
(
`act_ru_task` `act`
LEFT JOIN `act_ru_complement_user` `t` ON ((
`t`.`PROC_INST_ID_` = `act`.`PROC_INST_ID_`
)))
3.新建元素变量 实例ID,改写内建流程任务详情后置命令
4.提单表增加元素变量 触发,内建服务端命令
按照这个思路你已经可以任意灵活的想干啥干啥了
5.改写内建流程我的待办,移动端记得更改图文列表
最后给个展示效果哈:
|