Skip to main content

Reusable workflow library for django

Project description

Reusable workflow library for Django http://viewflow.io.

Viewflow is the workflow library based on BPMN concepts. BPMN - business process modeling and notations - is the wide adopted industry standard for business process modeling. BPMN provides a standard notation readily understandable by all business stakeholders. Viewflow bridging the gap between picture and executable, ready to use web application.

https://raw.githubusercontent.com/viewflow/viewflow/master/demo/shipment/doc/ShipmentProcess.png

Demo: http://demo.viewflow.io

After over than 10 years history of the BPMN standard, it contains whole set of battle-proven primitives for all occasions, helps you to describe all real life business process scenarios. Viewflow helps you to build a bpmn diagram in code and keep business logic separate from django forms and views code.

https://travis-ci.org/viewflow/viewflow.svg https://requires.io/github/viewflow/viewflow/requirements.svg?branch=master https://coveralls.io/repos/viewflow/viewflow/badge.png?branch=master

Documentation

Read the documentation at the http://docs.viewflow.io/

License

Viewflow is an Open Source project licensed under the terms of the AGPL license - The GNU Affero General Public License v3.0

Viewflow Pro has a commercial-friendly license allowing private forks and modifications of Viewflow. You can find the commercial license terms in COMM-LICENSE. Please see FAQ for more detail.

Latest changelog

0.12.0 - 2017-02-14

This is the cumulative release with many backward incompatibility changes.

  • Django 1.6 now longer supported.

  • Frontend now a part of the open-source package.

  • Flow chart visualization added

  • Every _cls suffix, ex in flow_cls, activation_cls, was renamed to _class. The reason for that is just to be consistent with django naming theme.

  • Django-Extra-Views integration is removed. This was a pretty creepy way to handle Formsets and Inlines within django class-based views. Instead, django-material introduce a new way to handle Form Inlines same as a standard form field. See details in the documentation.

  • Views are no longer inherits and implement an Activation interface. This change makes things much simple internally, and fixes inconsistency, in different scenarios. @flow_view, @flow_start_view decorators are no longer callable.

  • Activation now passed as a request attribute. You need to remove explicit activation parameter from view function signature, and use request.activation instead.

  • Built-in class based views are renamed, to be more consistent. Check the documentation to find a new view name.

  • If().OnTrue().OnFalse() renamed to If().Then().Else()

  • All conditions in If, Switch and other nodes receives now a node activation instance instead of process. So you can gen an access to the current task via activation.task variable.

  • Same for callable in the .Assign() and .Permissions definitions.

  • task_loader not is the attribute of a flow task. In makes functions and signal handlers reusable over different flows.

  • Flow namespace are no longer hardcoded. Flow views now can be attached to any namespace in a URL config.

  • flow_start_func, flow_start_signal decorators need to be used for the start nodes handlers. Decorators would establish a proper locking avoids concurrent flow process modifications in the background tasks.

  • To use celery job with django 1.8, django-transaction-hooks need to be enabled.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-viewflow-0.12.0.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

django_viewflow-0.12.0-py2.py3-none-any.whl (141.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-viewflow-0.12.0.tar.gz.

File metadata

File hashes

Hashes for django-viewflow-0.12.0.tar.gz
Algorithm Hash digest
SHA256 227b80ffd408bd552cce6fe73b917f970cfed84759ac4c5632f4b3f6c00c9f46
MD5 56542090d07aca3fd2140368d78f54ec
BLAKE2b-256 6fc0da75f25267368daefaec02136f67d4447d8ed1607dd552b23a645f1c0cec

See more details on using hashes here.

File details

Details for the file django_viewflow-0.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_viewflow-0.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd3d8da53215658b51847b4667a646c8a7d6925425ef1541e66dddf45f6f7b1d
MD5 96a80730ec15d9cd4fb15614626ef02d
BLAKE2b-256 a72d66fcea0e4576d542b79570cf28c7efbf6d8b6e3b52bd38eb278088a20d78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page