Error message shows up trying to move document using TC_HOOK_SERVICE.moveToNewFolder.[83]
Reason: This is a workflow problem.
IfProeTeamcenter
initially stores the Item in the folder given by the config key TC_TmpFolder, which by default is the current user's Newstuff folder. That is where the Item is currently located.The key TC_TargetFolder is applied (Item is moved) in EndCheckinTransaction, which is executed after Checkin1 (PdmOnCheckin_XX). In the case, with active MoveToNewFolder HookService in PdmOnCheckin_01, you try to move the part from TC_HOOKSERVICE_MOVETONEWFOLDER_SOURCE_FOLDER=Home/QA/GOHR/CREO to TC_HOOKSERVICE_MOVETONEWFOLDER_DESTINATION_FOLDER=Home/QA/3DFindIT. This can't work, as the Item is still in the TC_TmpFolder (in this case Newstuff).
Normally MoveToNewFolder is not required as
IfProeTeamcenter
moves the files in EndCheckinTransaction.However, if you want move the parts to a Folder not belonging to the current user or there is any other valid reason to not use the integrated move, you have to enter the TC_TmpFolder value in the key TC_HOOKSERVICE_MOVETONEWFOLDER_SOURCE_FOLDER and not to set TC_TargetFolder.