Questions tagged [django-river]

Questions addressing the Django workflow framework "River". Use together with [django] and [python] tags.

River is an open source workflow framework for . It supports on the fly changes instead of hardcoding states, transitions and authorization rules.

The main goal is to be able to edit any workflow item on the fly. This means that all the elements in a workflow (i.e. states, transitions, authorizations rules) are editable at any time so that no re-deploying of your application is required anymore.

7 questions
22
votes
1 answer

BPMN dynamic workflow for Django

I want to build a Django solution which workflow can be defined and changed on the fly, hopefully by updating a BPMN diagram without having to change the source code and redeploy. Despite such a feature has been around for quite a while in Java…
3
votes
2 answers

Manual Post Save Signal creation makes the application slow, Django

We have a Django application that uses Django-river for workflow management. For performance improvement, we had to use bulk_create. We need to insert data into a couple of tables and several rows in each. Initially, we were using the normal .save()…
kallada
  • 1,829
  • 4
  • 33
  • 64
1
vote
0 answers

How to handle object specific permissions in django-river?

I have a use case for django-river where users can approve some objects (database records) in a model but not all of them. I need to check if a user can approve a transition programmatically as a user can approve an object depending on the user and…
1
vote
1 answer

DRF Methodserializer : Object of type is not JSON serializable

i am trying to convert my existing project to the DRF . However im facing the error of : : Object of type TransitionApproval is not JSON serializable TransitionApproval object comees from a package called django-river. Here is my code: class…
neowenshun
  • 860
  • 1
  • 7
  • 21
1
vote
1 answer

How to override river-admin template?

Firstly , i would like to say that this package is amazing in the sense where there can be so much flexibility. Im relatively new to this package and im just trying to figure a way to fiddle around with the provided front end in the river-admin…
neowenshun
  • 860
  • 1
  • 7
  • 21
0
votes
1 answer

Reliable django-river alternatives?

I like the workflow functionality that django-river provides, but its performance is inappropriate and occasionally it fails to find the next available choices. Do you know any fast and reliable django-river alternatives that would use Python code…
Aidas Bendoraitis
  • 3,965
  • 1
  • 30
  • 45
0
votes
1 answer

Django: How to Access Installed Third Party App's Model and Data

I have been using django-river(https://github.com/javrasya/django-river) application within my app (https://github.com/rupin/WorkflowEngine) I have used the Django rest framework in my application and would like to get the data from the django-river…
Rupin
  • 610
  • 7
  • 23