Adding a Comment to IEdmBatchChangeState

Has anyone been able to add a comment to the files transitioned using IEdmBatchChangeState. The help file isn't much help.

My code looks like this:

Note: I am processing the referenced files in a separate function.

Public SecondBatchChangeState As IEdmBatchChangeState
FileRef = myFileObj.GetReferenceTree(MyRetFldrObj.ID, 0)
SecondBatchChangeState = Vault.CreateUtility(EdmUtility.EdmUtil_BatchChangeState)
SecondBatchChangeState.AddFile(myFileObj.ID, MyRetFldrObj.ID)
SecondBatchChangeState.CreateTree("Automated Macro") 'Name of Transisition to perform, not the go-to state name
SecondBatchChangeState.Comment = "******Reason for Change********"
SecondBatchChangeState.ChangeState(0) 'Transition files

After execution the history table shows no comment.

I think the problem is how I am assigning the string to the property but I can't find another way.

Any suggestions?

SolidworksSolidworks Pdm enterprise Pdm