creating a system that uses workflow [message #1308] |
Sat, 05 April 2008 17:41 |
ashmuw
Messages: 6 Registered: February 2008
|
Junior Member |
|
|
Hi I am really new to this and in need of help. After I have defined my tables and workflow, how do I get it to work together? Is there an example I can be able to see how the two connect together to make a proper system?
Thanks
[Updated on: Sat, 05 April 2008 17:43] Report message to a moderator
|
|
|
|
Re: creating a system that uses workflow [message #2604 is a reply to message #1308] |
Wed, 18 August 2010 09:44 |
christophed
Messages: 4 Registered: August 2010
|
Junior Member |
|
|
Hi Tony,
I am also testing the workflow subsystem. I have only one workflow (named = "This is a test of a simple sequence") with no end date, while all other workflows have a past end date.
Nevertheless, I see nothing to create a case (an instance of this workflow).
I have read http://www.tonymarston.net/php-mysql/workflow.html + the page radicore/workflow/docs/workflow-examples.html. I have installed the XAMPLE subsystem, I have amended the methods insertRecord and updateRecord, but I can't find anything anywhere to create a case.
So my question is simple: how do you launch the creation of a case on a specific workflow?
Thank you for your help.
Christophed
|
|
|
Re: creating a system that uses workflow [message #2605 is a reply to message #2604] |
Wed, 18 August 2010 10:24 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Each workflow process has a Start Task which, when run, will start a new workflow instance (case). A new case will only be started when you run the specified Start Task.
All the sample workflows which I created use the same Start Task, which is "Add Person". This means that after logging on to the Radicore system you must navigate to Home=>Proto=>Example System=>List Person, then press the "New" button in order to run "Add Person". It's as simple as that.
Why did you modify insertRecord() and updateRecord()? This is not necessary. You do not have to modify any code to run the Workflow system - you just create a workflow, then run the Start Task for that workflow to create a case.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|