I'm trying to use the event system to auto finish the first step in workflow on initial creation.
My code is fine until oActivity.FinishActivity("Message")
- the log is saying I need to specify a nextActivity, but this is not a decision step, and the next activity is an automatic decision, so there is only one nextActivity.
Any ideas why it wants a next step?
Code snippet
oWFComp = oTDSE.GetObject(oNode.Attributes(8).InnerText,
TDSDefines.EnumOpenMode.OpenModeView)
oActivity = oWFComp.ActivityInstance
oActivity.FinishActivity("Creation point")