跳至內容
選單
此問題已被標幟
3351 瀏覽次數

Given how workflows are done, it is possible to create several workflows attached to a same model. In my understanding that would allow to separate some activities and transitions that are independent to others and prevent the system checking all the possible transitions and conditions, but only those defined in a specific workflow.

However, the methods defined in the Workflow Service, like for instance trg_validate does only take in parameters the res_model and res_id. So how can it know on which workflow to look at ?

Let's say we want to delete the workinstance of a particular object by calling trg_delete. Will it delete all workinstances of all workflows ? If yes, then what is the point of having several workflows for a same model ?

頭像
捨棄
作者

Anyone on this ?

相關帖文 回覆 瀏覽次數 活動
2
7月 23
2884
1
2月 23
6452
1
6月 15
3235
1
3月 15
8643
0
7月 22
2243