Closed cyberdude86 closed 4 years ago
Hi @cyberdude86 ,
What do you mean by a backward step? Do you mean a transition where it circles?
Correct, I am trying to indicate when a a circular “reject” occurs.
There is no exposed API like that but you can use the easy way to do that that django-river internally uses to detect cycling transitions.
See this;
https://github.com/javrasya/django-river/blob/master/river/core/instanceworkflowobject.py#L227
I don't recommend you to use that method that is meant to be private and internal and rely on it. Things can change in django-river and it would make it harder for you to upgrade. Since it is a trivial one, you can steal the code and put it somewhere in your app.
Is there a built in method to indicate an approval model was a backward step?