Hi,
I tried that on version 8.2 and it seems to work fine, whenever I fill the form on the live site and submit it, the new task is created in Integration bus application. I am using the following code:
public class SampleIntegrationConnector : BaseIntegrationConnector
{
#region "Initialization (subscribing)"
/// <summary>
/// Initialize connector name and register subscriptions.
/// </summary>
public override void Init()
{
// Initialize connector name (it has to match the code name of connector stored in DB)
ConnectorName = GetType().Name;
SubscribeToObjects(TaskProcessTypeEnum.AsyncSnapshot, "bizformitem.bizform.contactus"); // change the "contactus" to the code name of your form
}
#endregion
#region "Internal (outcoming) tasks"
public override IntegrationProcessResultEnum ProcessInternalTaskAsync(GeneralizedInfo infoObj, TranslationHelper translations, TaskTypeEnum taskType, TaskDataTypeEnum dataType, string siteName, out string errorMessage)
{
try
{
if (infoObj.TypeInfo.ObjectType == "bizformitem.bizform.contactus")
{
string value = infoObj.GetValue("ColumnName").ToString(); // gets value out of form
}
errorMessage = null;
return IntegrationProcessResultEnum.OK;
}
catch (Exception ex)
{
errorMessage = ex.Message;
return IntegrationProcessResultEnum.Error;
}
finally
{
// Clear translations cached during TranslateColumnsToExternal which internally calls GetExternalObjectID, GetExternalDocumentID
// This call is optional but recommended in the case where eg. collision of code names can occur
ClearInternalTranslations();
}
}
Could you please let us know if that helps?
Best regards, Roman Konicek