跳至内容
菜单
此问题已终结
1 回复
4979 查看

Hello, I have a problem changing a record status using the workflow. When I created it, I had a problem with user permissions and creator could not read the model "mail.notification". This seems to have caused an unwanted record that I want to change state side effect.

The affected object is a "hr.expense.expense" and when I want to change state does not give me error but I do not it changes state. It seems as if the associated workflow instance was not properly created.

Any solution?

Greetings.

形象
丢弃
编写者 最佳答案

I solved the problem. Debugged on my development machine I have observed that for events activity workflow run is necessary to find records on 'wkf.workitem' with state = 'active' and the instance related with the registry on 'hr.expense.expense'.

These records were created with errors and were in a state workitem 'running'. I have changed and now runs the workflow.

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
3432
1
9月 25
201
1
8月 25
523
2
7月 25
670
1
7月 25
608