This topic is locked

How to use a workflow?

8/25/2011 6:09:34 PM
PHPRunner General questions
L
lordkain2 author

I want to use a workflow in PHP-Runner, is there a way to do that? Let me explain:
1-) The client create a request, with the status "NEW".

2-) The cashier check the request and change the status to "VERIFIED", the cashier only see the request on status "NEW".

3-) The B.O. approve or reject the request, the B.O. only see the request on status "VERIFIED".

4-) etc.
Is this could be done with dynamic permissions? Or just coding?
Thanks.

Sergey Kornilov admin 8/26/2011

This can be implemented as a set of custom views combined with user group permissions.

  1. Custom view on requests table with the following WHERE clause:

    WHERE status='NEW'
    Via User Group permissions provide access to this view for Cashier group only.
  2. Custom view on requests table with the following WHERE clause:

    WHERE status='VERIFIED'
    Via User Group permissions provide access to this view for B.O. group only.
    etc