تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4973 أدوات العرض

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
مارس 15
3424
1
سبتمبر 25
194
1
أغسطس 25
523
2
يوليو 25
667
1
يوليو 25
605