Automatic Transition [message #1729] |
Thu, 16 October 2008 08:18 |
rashad
Messages: 2 Registered: October 2008
|
Junior Member |
|
|
I am playing around with the workflow engine and I am trying to create a simple workflow like this:
"Request Vacation" -> Start->"Manager Approve"->End
So the are:
Places
Start
Manager Approval
End
Transitions:
Approve
Dummy
Arcs:
Start->Approve
Approve->Manager Approval
Manager Approval->Dummy
Dummy->End
So what should I do inside the dummy transition to finish the workflow?
|
|
|
Re: Automatic Transition [message #1730 is a reply to message #1729] |
Thu, 16 October 2008 12:03 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
If you are trying to construct a workflow to implement Start->"Manager Approve"->End then this has two places and one transition, so why are you inserting a second transition called "dummy"?
If you look at file radicore/workflow/docs/workflow-examples.html you will see some examples which have been set up in the workflow database.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: Automatic Transition [message #1732 is a reply to message #1731] |
Fri, 17 October 2008 05:32 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Do you really want a workflow which has only one transition? Is this a realistic scenario? Can a workflow with a single transition really be classed as a workflow?
If you must do it, you should remember that each transition in a workflow equates to a transaction (task) on the MENU database, so if you want a dummy transition you must relate it to a dummy task, one that uses a transaction pattern which updates the database (otherwise the workflow details cannot be updated) but which does not actually update the database. You could, for example, use a task which sends the employee an email to say "request granted".
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|