Home
TeamSite
TeamSite, LiveSite and OpenDeploy
UpdateTask or CSWorkarea.update()?
System
Or maybe another way? I am new to WFM and CSSDK, so go easy on me...
I am looking at options to update files from one branch to another within a workflow, but the key is that I want to be able to detect if there is a conflict during the copy. I don't believe this was an option the old Perl way - at least I didn't know of a way to check for a conflict and then send a notification in workflow.
Anyway, I don't see any methods in a CSUpdateTask that would indicate whether a conflict was encountered. However if you use CSWorkarea.update(), you can eventually work your way to a CSFileCmpResult.isConflict() method, which would tell you if the file(s) you just attempted to copy resulted in a conflict.
The drawback is that I'm not sure if it will tell me
which
files were in conflict. But it's still nice to at least know there was a conflict so that I could send out a notification.
Or is there a better way? Or am I missing something?
Find more posts tagged with
Comments
There are no comments yet