tx-lcn icon indicating copy to clipboard operation
tx-lcn copied to clipboard

TXC模式,flowable工作流的TaskService.complete(),解析的逆向sql执行失败

Open wangjie1206 opened this issue 3 years ago • 0 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

1. Bug Description

我们这边代码 进行业务流程审批(发起方)的时候,通过feign调用了flowable工作流工程的 TaskService.complete()方法(参与方), 发起方用的是LCN模式, 参与方用的是TXC模式, 结果发起方报错,参与方 解析的逆向sql语句,执行失败,导致事务回滚失败。 我通过t_tx_exception查看 逆向的sql语句,发现解析的sql语句中, insert into act_ru_task这张表的主键 id数据为null,原数据的id是不为null的, 这个解析sql的逻辑,为啥会把数据id值,弄成null呢?

2. Environment:

  • JDK version: 1.8
  • OS: windows10
  • TX-LCN version: 5.0.2.RELEASE
  • Others:

4. Tour Idea

wangjie1206 avatar Jun 25 '22 09:06 wangjie1206