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.1.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

django_viewflow-0.12.1-py2.py3-none-any.whl (94.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-viewflow-0.12.1.tar.gz
Algorithm Hash digest
SHA256 960002586558ab9f95d47fe09fbe778c39ac2ae07e5c2b04c920009558dfc275
MD5 81c4d3728eda62ab87abb83d153a22f3
BLAKE2b-256 69f8a2e43a2e94dcdf175011c6db0ab6c5fc538cad0c277a5a9e5a4de01fd8a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_viewflow-0.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d2abbd1c4a11fbad8d691ecd0d6055a7b46d4d71b049cd3989c40113581ca56
MD5 dc1b687a86eeb4d73aa8e72201fbc984
BLAKE2b-256 a2db361c6758f38089f008b6e5b498a99a74dc9089fc9f620ed54ff7ff50dbd7

See more details on using hashes here.

Supported by

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