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...&nbsp; =
here's my=20
code...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT =
size=3D2>&lt;cfa_workflowgetlist<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
dataSource=3D"#Request.cfa.objectstore.dsn#"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
workFlowID=3D"#url.WFID#"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
r_stWorkflowAgenda=3D"Workflowbits"&gt;<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; =

&lt;cfa_dump =
var=3D"#Workflowbits#"&gt;&lt;br&gt;<BR>&nbsp;<BR>&nbsp;&nbsp;=20
&lt;cfset activetask =3D =
listfirst(Workflowbits.lactivetasks)&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>&nbsp;&lt;cfa_TaskEnd<BR>&nbsp;&nbsp;datasource=3D"#Request.cfa.=
objectstore.dsn#"<BR>&nbsp;&nbsp;taskid=3D"#activetask#"<BR>&nbsp;&nbsp;w=
orkflowid=3D"#url.wfid#"&gt;<BR>&nbsp;<BR>&nbsp;&lt;!---=20
&lt;cfa_workflowexecute<BR>&nbsp;&nbsp;datasource=3D"#Request.cfa.objects=
tore.dsn#"<BR>&nbsp;&nbsp;workflowid=3D"#url.wfid#"&gt;<BR>&nbsp;&nbsp;<B=
R>&nbsp;&lt;cfloop=20
collection=3D"#Workflowbits.tasks#" =
item=3D"currtaskid"&gt;<BR>&nbsp;&nbsp;&lt;cfif=20
Workflowbits.tasks[currtaskid].label eq=20
"editing"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;cfset edittaskid =3D=20
currtaskid&gt;<BR>&nbsp;&nbsp;&lt;/cfif&gt;<BR>&nbsp;&lt;/cfloop&gt;&nbsp=
;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>&nbsp;&lt;cfa_TaskExecute<BR>&nbsp;&nbsp;datasource=3D"#Request.=
cfa.objectstore.dsn#"<BR>&nbsp;&nbsp;taskid=3D"#edittaskid#"&gt;</FONT></=
DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>it's pretty much straight out of the book, but it =
isn't doing=20
a darn thing...&nbsp; Task 1 still remains active and task 2 does=20
nothing.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Can anyone tell me what's wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Toby</FONT></DIV>
<DIV>&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_04B3_01C00668.F6F216C0--

------------------------------------------------------------------------------
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