toby,
it was way back in December/Jan that I worked on the workflow chapter but here
goes...
1) when you run cfa_workflowexecute it instantiates the workflow and sends
notifications for any tasks that need to be notified. When you first create the
workflow, usually only the first task will get a notification.
2) The user receives the notification, then goes to some interface (either
webtop or one you build) to actually do the task. the code in the interface
starts the first task with cfa_taskexecute.
In the example in chapter 13 of the forta book, the code both instantiates the
workflow and uses cfa_taskexecute to kick off the first task. It's this way
because we are kicking off a workflow at the same time the owner of the task
wants to do the first task. More often, though, cfa_taskexecute wouldn't run
until the owner of the first task receives notification and then goes some place
to start the task.
HTH
david aden
webworld studios, inc
www.wwstudios.com
-----Original Message-----
From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 9:05 AM
To: [EMAIL PROTECTED]
Subject: Re: active tasks
great...
When I start a workflow, does it automatically start the first task?
IE if I programmatically created then executed a workflowinstance, would I
need to then execute the first task as well?
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, 14 August 2000 10:28
Subject: RE: active tasks
>Toby,
>
>I think that be redoing the previous task (it being a precedent task for
the
>current one) will cause the current one to be reset to inactive when you
run
>cfa_workflowExecute.
>
>David
>webworld studios, inc.
>www.wwstudios.com
>
>-----Original Message-----
>From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 14, 2000 7:22 AM
>To: [EMAIL PROTECTED]
>Subject: Re: active tasks
>
>
>Lanny,
> thanks for the reply, so if I need to go back a step in a workflow, doI
>end the current task and redo the previous task, or should I just redo the
>previous one and let the workflow take care of of the rest?
>
>
>-----Original Message-----
>From: Lanny R. Udey <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Friday, 11 August 2000 9:04
>Subject: Re: active tasks
>
>
>Toby,
>
>That is how it works by default. If you look in the Business Manager
>workflow processes you will see that only one is marked active at any
>one time. If it is sent back, it is removed from the task list of the
>person sending it back.
>
>Lanny Udey
>Hofstra University
>
>>>> Toby Tremayne <[EMAIL PROTECTED]> Friday, August 11, 2000
>>>>
>imagine I had a three step workflow (3 tasks)
>
>task one gets completed and is marked as finished. Task 2 is marked as
>begun.(active)
>
>the task 2 user logs in completes the task and it is sent back to redo
>task 1.
>
>[ obviously this restarts task 1, but what I want to know is does this
>mean task 2 remains active? or do I finish task two and just get it to
>begin again when task one has been redone?]
>
>the point of all this is I have a couple of stages which might need to
>pass back to a predecessor, but I want to know if I can work it so only
>one task is ever active at one time......
>
>
>
>Toby Tremayne
>Code Poet and Zen Master of the Heavy Sleep
>Show-Ads Interactive Pty Ltd
>359 Plummer St
>Port Melbourne
>AUST VIC 3207
>+61 3 9245 1247
>---------------------------------------------------------------------------
-
>--
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_tal
k
>or send a message to [EMAIL PROTECTED] with
>'unsubscribe' in the body.
>
>
>---------------------------------------------------------------------------
---
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_tal
k or
>send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
>the body.
>
>---------------------------------------------------------------------------
---
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
>
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.