I am on WFFM 8 rev. 150625
I have created a form that would submit data to WFFM programmatically.
The code snipped to submit data is:
var simpleForm = new SitecoreSimpleForm(sitecoreFormItem);
var actionList = simpleForm.FormItem.ActionsDefinition;
var actionDefinitions = new List<ActionDefinition>();
actionDefinitions.AddRange(actionList.Groups.SelectMany(x => x.ListItems)
.Select(li => new ActionDefinition(li.ItemID, li.Parameters)
{ UniqueKey = li.Unicid }));
//crList is ControlResult[] and contains field values.
SubmitActionManager.Execute(sitecoreFormItem.ID,
crList.ToArray(), actionDefinitions.ToArray());
My WFFM form in sitecore has no save action, as I am sending out the email in the code itself. I noticed that the data was being saved in MongoDB, but not in the reporting database.
Is there any way I can trigger the save to reporting DB action? Do I need to call some other function to execute that bit?