I expected this:
FolderInfo NewFolder = new FolderInfo(s);
NewFolder.Create(FolderPath, EntryNameOption.AutoRename);
NewFolder.Dispose();
to fire the Entry Created event, but I don't see it in the Subscriber Tracer. It does create the folder in the repository, which is nice, but I'd like Workflow to know that I created it so it can do more fancy things after.
Similarly, I tried this:
NewFolder.Lock(LockType.Exclusive);
NewFolder.SetTemplate(TemplateName);
NewFolder.SetFieldValues(MetaFieldValues);
NewFolder.Save();
NewFolder.Unlock();
hoping for the Entry Changed event, but only found disappointment. Again, the folder metadata is updated successfully, but the Workflow will never fire.
I'm using version 9.2.
What am I doing wrong?