In workflow, we have a EventScript which is simply there to initiate another series of workflow instances based on the attributes of the WF you are creating.
After upgrading from CS16.2.4 to 22.3 (16.2.21.2017), this event script has stopped working. Having debugged it and stepped through into the Core modules, we have eventually found the root cause occuring when it calls DAPI.CopyNode, and returns the message "The items are not from the same database".
We only have one database, and just a single connection to it from content server. Therefore, this message does not make any sense to us.
This is the bit of code from the function in LLNode.NodeCopy
if it helps, the dataids, volumes and names of the Node and PArent Node are:
node=
pID: 56822897, pVOLUMEID: 38714339, pNAME: Version-179
(it is the workflow attachments volume)
dstParentNode=
pID: 71415069, pVOLUMEID: -2313, pNAME: Temp Map - 20 07 23 170438 - 2466971 - 1350706117
so it appears to be copying the workflow attachments volume into the new workflow instance temp map object.
thanks and regards
Guy.