工作流任务后台处理命令

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:2

工作流任务后台处理命令

1.查看工作流任务

select * from T_WFR_Assign??where fbizobjid??in ("单据id")

delete from T_WFR_Assign??where fbizobjid??in ("单据id")

--2.删除工作流实例

select * from T_WFR_ProcInst where fprocinstid in (select fprocinstid from t_wfr_procinstref

where frefid='单据id')

delete from T_WFR_ProcInst where fprocinstid in (select fprocinstid from t_wfr_procinstref

where frefid='单据id')

3.删除即时消息

T_BAS_Message ftitle_l2 标题 fsender_l2 发送人作为条件

4.根据主题和当前处理人来删除或隐藏待办任务

select * from t_wfr_assign where fsubject_l2 like '消息主题'and fpersonusername_l2='职员名

称'

delete from t_wfr_assign where fsubject_l2 like '消息主题'and fpersonusername_l2='职员名

称'

update t_wfr_assign set fstate='4' where fsubject_l2 like '委托%'and fpersonusername_l2='职员名称'


5.人工终止工作流

select * from t_wfr_procinst where fcode='流程编码'

update t_wfr_procinst set fstate='closed.terminated' where fcode='流程编码'


工作流任务后台处理命令

1.查看工作流任务select * from T_WFR_Assign??where fbizobjid??in ("单据id")delete from T_WFR_Assign??where fbizobjid...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息