David,
actually, my apologies that wasn't supposed to be there. I found out
what the problem is. My learning curve has been rather steep and
unfortunately patchy with the way our projects have been going, so at some
point I missed the fact that cfa_begin had to be used to kick off a task.
I guess when you start a workflow from the webtop, it executes the workflow
thus doing notification for the first task - it then requires someone to log
in and "start" the first task.
In my code I was ending a task, then trying to simply execute another, but I
couldn't figure out why the workflow wasn't appearing in the next login
stage of my custom admin system. I needed to also use the taskbegin tag to
kick it off.
Toby
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, 15 August 2000 12:03
Subject: RE: TaskEnd
>Toby,
>
>Just to clarify -- in the code you show there is a stray CF comment right
before
>the cfa_workflowexecute -- is that in the code you're testing?
>
>david
>webworld studios, inc.
>www.wwstudios.com
>
>-----Original Message-----
>From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 14, 2000 1:29 PM
>To: Spectra-Talk Mailing List
>Subject: TaskEnd
>
>
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_04B3_01C00668.F6F216C0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>I'm using cfa_taskend and it's not working... here's my code...
>
><cfa_workflowgetlist
> dataSource=3D"#Request.cfa.objectstore.dsn#"
> workFlowID=3D"#url.WFID#"
> r_stWorkflowAgenda=3D"Workflowbits">
> =20
> <cfa_dump var=3D"#Workflowbits#"><br>
>=20
> <cfset activetask =3D listfirst(Workflowbits.lactivetasks)>
>
> <cfa_TaskEnd
> datasource=3D"#Request.cfa.objectstore.dsn#"
> taskid=3D"#activetask#"
> workflowid=3D"#url.wfid#">
>=20
> <!--- <cfa_workflowexecute
> datasource=3D"#Request.cfa.objectstore.dsn#"
> workflowid=3D"#url.wfid#">
> =20
> <cfloop collection=3D"#Workflowbits.tasks#" item=3D"currtaskid">
> <cfif Workflowbits.tasks[currtaskid].label eq "editing">
> <cfset edittaskid =3D currtaskid>
> </cfif>
> </cfloop>=20
>
> <cfa_TaskExecute
> datasource=3D"#Request.cfa.objectstore.dsn#"
> taskid=3D"#edittaskid#">
>
>it's pretty much straight out of the book, but it isn't doing a darn =
>thing... Task 1 still remains active and task 2 does nothing.
>
>Can anyone tell me what's wrong?
>
>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_04B3_01C00668.F6F216C0
>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>I'm using cfa_taskend and it's not working... =
>here's my=20
>code...</FONT></DIV>
><DIV> </DIV>
><DIV><FONT =
>size=3D2><cfa_workflowgetlist<BR> =20
>dataSource=3D"#Request.cfa.objectstore.dsn#"<BR> &=
>nbsp;=20
>workFlowID=3D"#url.WFID#"<BR> =20
>r_stWorkflowAgenda=3D"Workflowbits"><BR> <BR> =
>
><cfa_dump =
>var=3D"#Workflowbits#"><br><BR> <BR> =20
><cfset activetask =3D =
>listfirst(Workflowbits.lactivetasks)></FONT></DIV>
><DIV> </DIV>
><DIV><FONT=20
>size=3D2> <cfa_TaskEnd<BR> datasource=3D"#Request.cfa.=
>objectstore.dsn#"<BR> taskid=3D"#activetask#"<BR> w=
>orkflowid=3D"#url.wfid#"><BR> <BR> <!---=20
><cfa_workflowexecute<BR> datasource=3D"#Request.cfa.objects=
>tore.dsn#"<BR> workflowid=3D"#url.wfid#"><BR> <B=
>R> <cfloop=20
>collection=3D"#Workflowbits.tasks#" =
>item=3D"currtaskid"><BR> <cfif=20
>Workflowbits.tasks[currtaskid].label eq=20
>"editing"><BR> <cfset edittaskid =3D=20
>currtaskid><BR> </cfif><BR> </cfloop> =
>;</FONT></DIV>
><DIV> </DIV>
><DIV><FONT=20
>size=3D2> <cfa_TaskExecute<BR> datasource=3D"#Request.=
>cfa.objectstore.dsn#"<BR> taskid=3D"#edittaskid#"></FONT></=
>DIV>
><DIV> </DIV>
><DIV><FONT size=3D2>it's pretty much straight out of the book, but it =
>isn't doing=20
>a darn thing... Task 1 still remains active and task 2 does=20
>nothing.</FONT></DIV>
><DIV> </DIV>
><DIV><FONT size=3D2>Can anyone tell me what's wrong?</FONT></DIV>
><DIV> </DIV>
><DIV><FONT size=3D2>Toby</FONT></DIV>
><DIV> </DIV>
><DIV> </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_04B3_01C00668.F6F216C0--
>
>---------------------------------------------------------------------------
---
>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.