Aha!  Thank you - so does this mean that once I''ve instanciated the
workflow, I can just have the first task calling the edit handler that I
already have, and it will automatically call it against the object it's
created?


-----Original Message-----
From: Benjamin Elmore <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, 3 August 2000 2:30
Subject: RE: workflow invokers?


>Toby,
>
>If I read your question correctly, you are asking about what creates the
>object...
>
>On a <cfa_workflowinstancecreate> call, Spectra goes ahead and creates an
>instance of the artifact (the type assigned to the workflow) through the
>standard <cfa_contentObjectCreate> tag.  After that, a
<cfa_workflowexecute>
>can be used to go ahead and let the owner of the first task to do its job.
>This is generally fired by the <cfa_taskExecute> tag, which in turn calls
>the method (through <cfa_contentObject>) against the objected created by
><cfa_workflowinstancecreate>.
>
>If you have a specific create/initialization sequence you need done,
>overload the default create method.
>
>When creating your methods, treat them like any other method you would
>create.  There are some differences in data passed and what you can do with
>workflow specific tasks, but I will leave that to a different time...
>
>-b
>
>
>-----Original Message-----
>From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 03, 2000 8:24 AM
>To: Spectra-Talk Mailing List
>Subject: workflow invokers?
>
>
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_0161_01BFFD99.82413B80
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>Hi,
>
>    When a workflow task has a method, which invoker does it use to run =
>that?  The first task of my workflow needs to launch a plp which is used =
>to create an article.  The plp is usually called from the edit method of =
>the object...=20
>
>my own invoker actually does a check and if necessary creates the =
>required object and calls the edit method on that object.  I'm not quite =
>sure how to get the workflow task to do this...
>
>I have the edit handler, which calls the plp using the object id =
>assigned to it...
>
>I have an initiate handler which kicks of the workflow using =
>workflowinstacecreate and workflow execute and taskexecute etc etc...
>
>
>What I was hoping would happen, is that i could put the create method in =
>the method field for the task and it would run that, meaning my invoker =
>would use the create process then subsequently call the edit handler and =
>all would be peachy...
>
>but it isn't working that way.  So hence my question(s) - what invoker =
>does the workflow use - and can anyone suggest how I might get this to =
>work?
>
>Thanks muchly
>
>Toby
>
>
>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
>
>------=_NextPart_000_0161_01BFFD99.82413B80
>Content-Type: text/html;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META content=3D"text/html; charset=3Dwindows-1252" =
>http-equiv=3DContent-Type>
><META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT size=3D2>Hi,</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; When a workflow task has a =
>method, which=20
>invoker does it use to run that?&nbsp; The first task of my workflow =
>needs to=20
>launch a plp which is used to create an article.&nbsp; The plp is =
>usually called=20
>from the edit method of the object...&nbsp;</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>my own invoker actually does a check and if =
>necessary creates=20
>the required object and calls the edit method on that object.&nbsp; I'm =
>not=20
>quite sure how to get the workflow task to do this...</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>I have the edit handler, which calls the plp using =
>the object=20
>id assigned to it...</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>I have an initiate handler which kicks of the =
>workflow using=20
>workflowinstacecreate and workflow execute and taskexecute etc=20
>etc...</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>What I was hoping would happen, is that i could put =
>the create=20
>method in the method field for the task and it would run that, meaning =
>my=20
>invoker would use the create process then subsequently call the edit =
>handler and=20
>all would be peachy...</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>but it isn't working that way.&nbsp; So hence my =
>question(s) -=20
>what invoker does the workflow use - and can anyone suggest how I might =
>get this=20
>to work?</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>Thanks muchly</FONT></DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>Toby</FONT></DIV>
><DIV><FONT size=3D2></FONT>&nbsp;</DIV>
><DIV>&nbsp;</DIV>
><DIV><FONT size=3D2>Toby Tremayne<BR>Code Poet and Zen Master of the =
>Heavy=20
>Sleep<BR>Show-Ads Interactive Pty Ltd<BR>359 Plummer St<BR>Port=20
>Melbourne<BR>AUST VIC 3207<BR>+61 3 9245 1247</FONT></DIV></BODY></HTML>
>
>------=_NextPart_000_0161_01BFFD99.82413B80--
>
>---------------------------------------------------------------------------
-
>--
>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.

Reply via email to