I'm using cfa_taskend and it's not working...  here's my code...
 
<cfa_workflowgetlist
      dataSource="#Request.cfa.objectstore.dsn#"
      workFlowID="#url.WFID#"
      r_stWorkflowAgenda="Workflowbits">
  
   <cfa_dump var="#Workflowbits#"><br>
 
   <cfset activetask = listfirst(Workflowbits.lactivetasks)>
 
 <cfa_TaskEnd
  datasource="#Request.cfa.objectstore.dsn#"
  taskid="#activetask#"
  workflowid="#url.wfid#">
 
 <!--- <cfa_workflowexecute
  datasource="#Request.cfa.objectstore.dsn#"
  workflowid="#url.wfid#">
  
 <cfloop collection="#Workflowbits.tasks#" item="currtaskid">
  <cfif Workflowbits.tasks[currtaskid].label eq "editing">
   <cfset edittaskid = currtaskid>
  </cfif>
 </cfloop> 
 
 <cfa_TaskExecute
  datasource="#Request.cfa.objectstore.dsn#"
  taskid="#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

Reply via email to