[Fixed]-How to configure ViewFlow, many functionality

1πŸ‘

It sounds like you somehow been confused. Viewflow is the code-based workflow library, instead of clunky UI, you can construct workflow directly in code. So, it opens a way to unlimited customization and things that are common in the standard development practice like code review, code versioning, unit-testing and etc.

The best way to start with viewflow is to follow Quick Start tutorial.

Viewflow is the library for the Django Web Framework, so the django tutorial could also be helpful.

To create a new form – https://docs.djangoproject.com/en/1.10/topics/forms/

To auto-assign, a user you need to provide a callable that would return a user instance on task activation.

mytask = flow.View(
       UpdateProcessView,
       fields=['first_field', 'second_field']
   ).Assign(
        lambda activation: .. return a user here ...
   ).Next(this.next_task)

Viewflow PRO version could provide a flow visualization – http://demo.viewflow.io/workflow/shipment/shipment/chart.svg/

πŸ‘€kmmbvnr

Leave a comment