Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
CSIDE and OScript
Problem with DAPI.MoveNode Callback Function
RajDon
Hi All,We are encountering a problem in workflows after upgrading from 9.5 to 9.7.1. The custom code first copied uploaded files to a folder (temp location). Later it moves the file from the temp folder to the Workflow attachments folder. This is where we get the error.Custom code: DAPI.MoveNode(node,WfattachmentsNode,tdocname,TRUE)Fails at: LLIAPI: LLNode: CBNodeMovertnval = llParent.GetChildMoveOptions( dapiCtx, parentRec, nodeRec, dapiStatus.MoveInfo )Looks like dapistatus is null. I have attached the stack trace. would greatly appreciate any help.Thanks-Shari
Find more posts tagged with
Comments
Donna Nalls
Hi Shari,Instead of using DAPI.MoveNode(), try calling the LLNode object's NodeMove() method....it will set up the dapi status and some other good stuff for you......object llNode = $LLIAPI.LLNodeSubsystem.GetItem($TypeDocument)retVal = llNode.NodeMove(node, WFattachmentsNode, tdocname) Regards,Donna