Running a Workflow [message #2606] |
Mon, 23 August 2010 06:14 |
sukshi
Messages: 8 Registered: July 2010
|
Junior Member |
|
|
The first task I want to do is , say add a student, i specify everything, validate the workflow and begin.
Then, if i click on add a student, which begins a new workflow case, if all the fields to be filled in are compulsory then i fill it and say add_a_person (manual). Now the task of adding the person with the id that i have already added comes on my home page.
Now, i can do nothing with it, since i have already added it which had inturn triggered the workflow, the task remains ever pending and the workflow does not move on.
I didnot exactly get how it will be working if i set the transition to be "automatic".
I must be going wrong somewhere. Please help!
|
|
|
Re: Running a Workflow [message #2607 is a reply to message #2606] |
Mon, 23 August 2010 06:55 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Is "add_a_person (manual)" in the workflow? What is the relationship between "add_a_person" and "add_a_student"?
If you look at http://www.radicore.org/demo/workflow/docs/workflow-examples .html you will see that I have documented the workflow examples that exist in the workflow database. This means that you can activate any one of these workflows and test them out for yourself.
If you look at example #1 you see that a new workflow case is created whe you run "Add Person", and this will immediately place "Add Person Address" in the queue. This will appear in the Menu/Home Page as a prompt, and when this is completed it will place "Update Person Address" in the queue. When the last task is completed the workflow case will be closed.
How have you set up your workflow, and what do you expect to happen?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: Running a Workflow [message #2609 is a reply to message #2608] |
Mon, 23 August 2010 10:37 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
"add_a_person" and "add_a_student" are NOT the same thing. If you have two tasks set up with different names then they are different tasks.
If you read the documentation you will see that a workflow case is created whenever you run the "start task" in an active workflow. This will then enable the first task within the workflow. When the last task has been run the case will be closed.
The "start task" within a workflow should *NEVER* appear as a task within a workflow, otherwise you will be forever creating workflows and no getting anywhere.
If you want to know the difference between "manual" and "automatic" please read the documentation.
What tasks do you have in your workflow? What does each task do?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|