Questions tagged [django-viewflow]

django-viewflow is for questions related to the viewflow library that provides workflow features for django web apps. For questions about the android viewflow library use the tag `viewflow`

Viewflow is a reusable workflow library for Django, a python-based web application framework.

135 questions
0
votes
1 answer

Saving process data on another table in the database

I'm working on a process for my company. Doing this i have found it necesary to store data that is being inserted in the proccess. My process is working fine but instead of saving in my other model, it keeps on saving the data on the table that…
0
votes
1 answer

Integrating view-flow with google-drive django api

My company is setting up a workflow aplication and they've chosen the viewflow library for designing it. I have little experience with django and have to integrate it with google drive but I wouldnt know hoy to modify the standard front end that…
0
votes
1 answer

Performance constraints of non pro version of viewflow

I'm looking towards using viewflow to design a workflow app for my company. I would like to know about performance constraints of using the non-pro version of viewflow. Besides this I'd like know if using the unpayed version I can change the…
0
votes
1 answer

Viewflow - start process with Django model post_save signal

Is there a way to start a Viewflow process with Django model post_save signal. I managed to do this: //start viewflow process start = ( flow.StartSignal(post_save, create_dest_flow) .Next(this.approve) ) //create flow function def…
Silko
  • 584
  • 1
  • 8
  • 26
0
votes
0 answers

Jump to previous task leads to no flow_task and process for the task

I have a flow with the logic as below: class MyFlow(Flow): start = flow.Start(StartProcess).Next(this.if_A_B) if_A_B = flow.If(cond=lambda act: act.process.if_A_B). \ Then(this.A). Else(this.B) A = flow.View(HandleA). \ …
Rachel
  • 1
0
votes
1 answer

What causes viewflow to throw 'More than one join instance for process found'

I have a django-viewflow workflow which includes a 3-way Split() to handle email, SMS, etc. Since each of those activities may take an extended period of time to complete, I represent each one of the 3 split branches as a pair of nodes: A normal…
Shaheed Haque
  • 644
  • 5
  • 14
0
votes
1 answer

Django viewflow: not receiving flow_finished signal

I'm trying to catch the flow_finished signal from django viewflow like this flow_finished.connect(function) but it's not working. The function isn't called even if the flow finishes. Any help please, I'm pretty lost. In my app's init.py I added…
0
votes
1 answer

Viewflow: AllProcessListView return empty

I'm trying to use viewflow in my project but I'm having a few problems with the views that start with "All" (AllProcessListView, AllQueueListView, ecc..). I created some custom templates for them but they always return me empty querysets, even if…
0
votes
1 answer

Django Viewflow - How do apply the same transition for multiple tasks

With viewflow, My usecase is this: A user is assigned multiple tasks. He wants to select some of the task and apply the same transition(Approve/Reject) to them. How can he do this?
dinesh kumar
  • 103
  • 8
0
votes
1 answer

Django viewflow extend task view

Am trying out an idea to use both django-viewflow and django-permission in an app where there would be some complicated permission rules. The way that I have understood the way django-permission works is by adding a decorator to the view that you…
dj.bettega
  • 117
  • 1
  • 1
  • 11
0
votes
1 answer

Two independent flows (processes) in Django-Viewflow under one frontend, exception raised

I'm trying to implement two identical independent Processes (flows) under one frontend. After fresh migration I can start one of them (as many times as I like) and it works fine. But when I try to start another one it raises DoesNotExist exception…
0
votes
0 answers

django-viewflow signal to work with a djangosignal

I'm trying to set a viewflow.Signal to work with a django.signal but I just cannot. I've followed the examples included in the documentation but it just keeps failing: viewflow.Signal anyone knows how to set the set the receiver and the…
ojav
  • 1
  • 2
0
votes
1 answer

Why is task.started not saved in ViewActivation.prepare?

Please look at the following snippet: https://github.com/viewflow/viewflow/blob/fa48ec8b129171bceaa25c3ef4a7e6385c30ff6f/viewflow/activation.py#L364 I don't understand why ViewActivation.prepare does not invoke self.task.save() after…
Tinker
  • 4,165
  • 6
  • 33
  • 72
0
votes
1 answer

Viewflow Signal for New tasks?

I am looking to announce in my slack channels whenever a new task becomes available. Looking at the src, it seems like there is only a signal whenever a task is started. How can I create a signal when a task becomes available?
Tinker
  • 4,165
  • 6
  • 33
  • 72
0
votes
1 answer

Django-viewflow - keeping models separate from process flow

This question is triggered from designing models in django-viewflow While keeping the models separate from viewflow process, getting the below error - File "/usr/local/lib/python3.6/site-packages/django/db/models/fields/related.py", line 625, in…
user1261115
  • 73
  • 1
  • 6
1 2 3
8
9