Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4966 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3417
1
ก.ย. 25
191
1
ส.ค. 25
519
2
ก.ค. 25
664
1
ก.ค. 25
605