Changes between Version 2 and Version 3 of GoFlow_Doc
- Timestamp:
- May 23, 2008, 7:48:21 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoFlow_Doc
v2 v3 8 8 9 9 == Prerequisite == 10 Create a directory, and copy the directory ''goflow''in this directory (you can also place it in any directory PYTHONPATH).10 Create a directory, and copy the directory ''goflow''in this directory (you can also place it in any directory PYTHONPATH). 11 11 12 12 ''Note'': … … 23 23 }}} 24 24 25 * Add the following applications in the file ''settings.py''25 * Add the following applications in the file ''settings.py'' 26 26 {{{ 27 27 INSTALLED_APPS = ( … … 32 32 ) 33 33 }}} 34 The application ''workflow''contains the "static" model data (modeling35 process), and application ''forums''contains the dynamic part, or runtime.34 The application ''workflow'' contains the "static" model data (modeling 35 process), and application ''forums'' contains the dynamic part, or runtime. 36 36 37 37 * Setting up the party's database file settings, for example like this: … … 41 41 }}} 42 42 43 * Add the following lines 2 das''urls.py file'':43 * Add the following lines 2 in ''urls.py'' file: 44 44 {{{ 45 45 urlpatterns = patterns ('', … … 58 58 }}} 59 59 60 We can now open the console admin [http://localhost:8000/admin], and discover the data models introduced by !GoFlow:61 [[Image 60 We can now open the console admin [http://localhost:8000/admin], and discover the data models introduced by !GoFlow: 61 [[Image(GoFlow_DocFr:admin1.png)]] 62 62 63 we can also discover the Dashboard''!''GoFlow, which has the status of workflows using a "back-office", [http://localhost:8000/workflow]64 [[Image 63 we can also discover the ''!GoFlow'' Dashboard, which has the status of workflows using a "back-office", [http://localhost:8000/workflow] 64 [[Image(GoFlow_DocFr:admin2.png)]] 65 65 66 66 We will now create a process workflow. 67 67 * Return to the admin console, add an entity Process; screen below is shown: 68 68 69 [[Image 69 [[Image(GoFlow_DocFr:admin3.png)]] 70 70 71 71 * Take the title "Hello world", and a description 72 * Register using the ''Save button and continue editing'': there is an activity''End''was added automatically.73 * Create an initial activity, by clicking on the icon "+" in the field ''Initial activity'': take a title, set the process on the current process "Hello world", leave the default values for other fields.72 * Register using the ''Save button and continue editing'': there is an activity ''End'' was added automatically. 73 * Create an initial activity, by clicking on the icon "+" in the field ''Initial activity'': take a title, set the process on the current process "Hello world", leave the default values for other fields. 74 74 * Save 75 75 We have to create our first process workflow: 76 [[Image 76 [[Image(GoFlow_DocFr:admin4.png)]] 77 77 78 78 We have specified no application in our business, we will see that it is not necessary to begin to "play" with our application. 79 79 80 Indeed, when an activity is not associated with an application, a special application is still invoked, to simulate this activity: a panel is simply presented to the user, displaying the name and description of activity . A history of workflow is also displayed. A ''OK''button allows you to complete the activity.80 Indeed, when an activity is not associated with an application, a special application is still invoked, to simulate this activity: a panel is simply presented to the user, displaying the name and description of activity . A history of workflow is also displayed. A ''OK'' button allows you to complete the activity. 81 81 82 Before you start implementing our process workflow, it lacks one thing: allow the current user (''admin'' for example) to instantiate the process.82 Before you start implementing our process workflow, it lacks one thing: allow the current user (''admin'' for example) to instantiate the process. 83 83 84 * Add a group named ''''Hello world, give him permission''can_instantiate''on the content type''workflow.process'', and save85 * Add this group to the current user: this allows the user to instantiate the process ''''Hello world.84 * Add a group named ''Hello world'', give him permission ''can_instantiate'' on the content type ''workflow.process'', and save 85 * Add this group to the current user: this allows the user to instantiate the process ''Hello world''. 86 86 87 87 Everything is now ready to execute our workflow: go on the dashboard [http://localhost:8000/workflow]. You will find our process and its definition, and other information on the roles and permissions 88 88 89 * Click on the link ''start a simulation instance''under the''process''Hello world89 * Click on the link ''start a simulation instance'' under the process ''Hello world'' 90 90 91 Bug''rev 21: name of process with a white''91 ''Bugrev 21: name of process with a white'' 92 92 93 93 ---- 94 94 95 '' 95 '''TO BE CONTINUED'''