Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3331 Weergaven

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 ?

Avatar
Annuleer
Auteur

Anyone on this ?

Gerelateerde posts Antwoorden Weergaven Activiteit
2
jul. 23
2865
1
feb. 23
6414
1
jun. 15
3223
1
mrt. 15
8622
0
jul. 22
2226