Ps the error is:
An error occurred while evaluating the expression:
lAppendList = "";
for (index=1; index LTE
listlen(relatedTaskSpecIDs); index = index + 1){
//the instance ID for this task
currentTaskInstID =
StructFind(stTaskSpecInstLookup,currentSpecTaskID);
//the ID for this current child of a
Task Spec
currentChildTaskSpecID =
ListGetAt(relatedTaskSpecIDs, index);
//the corresponding instance ID
relative to the currentChildTaskSpecID
currentChildTaskInstID =
StructFind(stTaskSpecInstLookup,currentChildTaskSpecID);
//append this child task inst to a
list for a latter batch insert
lAppendList =
ListPrepend(lAppendList,currentChildTaskInstID);
}
//insert row into dependency struct
StructInsert(stInstTaskDependencies,currentTaskInstID,lAppendList);
Error near line 187, column 6.
----------------------------------------------------------------------------
----
StructFind(Struct, Key): Cannot find Key in struct
-----Original Message-----
From: Darren Walker [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2001 12:31
To: Spectra-Talk
Subject: workflows and task dependencies
Hello
I am able to create a workflow with a task that has multiple predecessors.
E.g. Create object x is dependant on both Create object y and create object
z. I can create this workflow template in both the webtop and
programmatically using cfa_createTaskDependency.
However when I try to create an instance of that workflow, I get an error
(in cfa_workflowinstancecreate).
Is there something I am missing here?
I have read about milestone tasks; these look to be of no use if I can't
assign multiple predecessors to them.
Spectra 1.5.1; CF 5.0; W2K IIS etc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
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.