Symptoms
The workflow contains an object to update the item properties after it copies an item from a library to a document set. It is throwing the following error: "100642345","2016-10-21 11:12:01","Error","General","0","ErrorMessage","Copy Document","0 Service: workspaces_consumer_intlfcstone_com___serv___csc
Service Guid: cfc6cc08-2f57-4d42-8a08-b0fdb810829a
Severity: Error
Error Message: Cannot complete this action.
Please try again.
InnerException Message:
","anonymous","0.0.0.0","SUSIAALECCSPBP1:D:Program Files (x86)K2 blackpearlHost ServerBin","100642345","571f020c05b140caa6f977eb4d68fa5c",""
"100642346","2016-10-21 11:12:01","Debug","Communication","8045","SocketDisconnect","SourceCode.Hosting.Server.Services.TCPIOCPService.WorkerThread","8045 Disconnected From 10.40.13.54:22","system","fe80::fcb7:3405:ed4a:c9d1%12","SUSIAALECCSPBP1:D:Program Files (x86)K2 blackpearlHost ServerBin","100642346","45c1a342236c4ed09a345d418f7a9847",""
"100642347","2016-10-21 11:12:01","Info","SmartObjects","10530","ExecuteMethod","SourceCode.SmartObjects.Runtime Unload()]","10530 Executing Method: '11:12:01 Unload()' ...","anonymous","0.0.0.0","SUSIAALECCSPBP1:D:Program Files (x86)K2 blackpearlHost ServerBin","100642347","30514af9970a48cdb3715f4567966fc3",""
"100642348","2016-10-21 11:12:01","Info","SmartObjects","10531","CompleteMethod","SourceCode.SmartObjects.Runtime Unload()]","10531 Completed Method: '11:12:01 Unload()'","anonymous","0.0.0.0","SUSIAALECCSPBP1:D:Program Files (x86)K2 blackpearlHost ServerBin","100642348","5121275d13ab4e3183db370eccaa6c40",""
"100642349","2016-10-21 11:12:01","Info","System","1025","EndSession","SourceCode.Hosting.Server.Runtime.HostSessionManager.EndSession","1025 Ending Session 34B08B88301065E2E66399B6F334ABC7","system","10.40.13.54","SUSIAALECCSPBP1:D:Program Files (x86)K2 blackpearlHost ServerBin","100642349","061491952bab4ed19405a544c7b0a0e4",""
"100642350","2016-10-21 11:12:01","Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 ServerEvent: Service: workspaces_consumer_intlfcstone_com___serv___csc
Diagnoses
The k2 process has two paths, determined by the name of the document, to take. Both path will execute the Copy Document activity, which contains an event to copy the document and a update document properties event. However, the Update Document Properties event failed on one path but not the other. Tried go to activity to re-execute the failed activity but it didn't help. Tried separating the two events into separate activity.
Resolution
Separating the Copy Document event and the Update Document Properties in be in their own activity seems to fixed the issue.