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

Get current task of a process

I am trying to flow through tasks pragmattically using custom viewswhich will be controlled by an api. I have figured out how to flow through a process if i pass in the a task object to a flow_function task = Task.objects.get(id=task_id) response =…
0
votes
0 answers

I can't see HellowWorldFlow in the Processes menu and Process menu is inactive

I have done all the steps for the quick start twice. I have tried Django 2.2.9 and 3.0.2. I have a 127.0.0.1:8000/workflow/ page. I can change language and theme color. Admin-panel does work too. What did I miss, please? p.s. maybe you should…
Alex
  • 1
  • 2
0
votes
0 answers

django-viewflow how to use SubProcess

The SubProcess is a pro feature, but there is no documentation on how to use it, is there any working example of using the SubProcess node? Does that mean I can use SubProcess to chain up different workflows? How does one workflow pass information…
James Lin
  • 25,028
  • 36
  • 133
  • 233
0
votes
1 answer

django-viewflow, multiple flows within the same app causes url not unique via @rest.register

Say I have an app called 'MRT`, inside the app I have 2 flow definitions. Flow_A and Flow_B both registered via @rest.register as below: @frontend.register @rest.register class Flow_A(Flow): .... @frontend.register @rest.register class…
James Lin
  • 25,028
  • 36
  • 133
  • 233
0
votes
1 answer

django-viewflow, rest api saving foreign key says " has no "

I have the following models setup: class Cluster(models.Model): name = models.CharField(...) ... class ResourceRequest(Process): cluster = models.ForeignKey('Cluster') def clean(self, ...): if self.cluster.name == 'abc': …
James Lin
  • 25,028
  • 36
  • 133
  • 233
0
votes
1 answer

Django-viewflow initial request data

I am trying to implement a request fulfillment workflow, eg. service desk request, so the workflow starts with initial request data. I followed the quick start guide but it starts with CreateProcessView which is "internal" bound, what if the request…
James Lin
  • 25,028
  • 36
  • 133
  • 233
0
votes
0 answers

django-viewflow with celery: licensing question

I'm using django-viewflow for a web app. I need to understand if viewflow (nonpro) StartSignal can be started from a celery task, or this feature already requires a pro-license. This doubt arises from the viewflow documentation since it states that…
0
votes
1 answer

How to specify what django view to display when a process ends?

If I've understood the viewflow code correctly, when a flow reaches its end node, the function get_next_task_url from viewflow.flow.views.utils redirects to the process detail page or the process index page. It would be great if the End node allowed…
0
votes
1 answer

How to handle a join of a variable number of incoming?

Is there a way to handle "partial Joins" in viewflow? For example: an order is received, and after checking and booking-in then each line item is manufactured in parallel (Split). Normally these would all join before the customer required-by date,…
nigel222
  • 7,582
  • 1
  • 14
  • 22
0
votes
1 answer

Viewflow - Modify how Process URL appear?

Is it possible to configure Viewflow such that the Process Summary and Process URL display something more useful (such as process.website.name?) Screenshot
Hot dog
  • 21
  • 2
0
votes
1 answer

running flow through code Django-Viewflow

I want to run my process entirely by code. I've managed to start a process but a I can't run the next part of the process. I tried using the "flow.Function" and calling my desired function but i't says 'Function {} should be called with task…
0
votes
1 answer

Is Viewflow for superusers only?

I'm learning django viewflow (non-Pro) and the all processes that I've been creating works for superuser users only Is that normal? Thanks, José.- Edit 2: My specific problem is that my user can start the process, but he can't continue it (can't see…
José
  • 1,774
  • 1
  • 17
  • 21
0
votes
1 answer

Canceling a process Django-ViewFlow

I'm creating an aplication for my company's workflow. Doing so I've arrived to the necesity of having some way to cancel process instances in case the user who created the flow AKA "Asignador" requieres it. I've tried using the "CancelProcessView"…
0
votes
1 answer

How do I disable "ajax partial page loads" in Viewflow?

I notice that Viewflow has an optimization that when you click a link in the Sidebar (and a few other places) it doesn't do a regular full page load, but appears to do an AJAX request for the target page, and dynamically replaces the element with…
Seth
  • 2,712
  • 3
  • 25
  • 41
0
votes
1 answer

Non Boolean comparisons in flow.switch().case() Django-Viewflow

I have a standar viewflow flow process, in one of the states id want to split my proccess based on the text value that is introduced in one of the fields. I have defined my field of interest this way in models.py estado_de_aprobacion=…
1 2 3
8 9