Integration bus and contacts

Tom Troughton asked on March 31, 2015 13:51

I'm in the process of writing a CRM connector using Kentico's integration bus. I've created a connector subscribed to create and update tasks for contacts.

Something I have found is that if I have a form with fields linked to contact fields and an existing contact submits the form, the integration task is logged into integration bus with the old contact details. For example, if a field on the form is email address and the user enters an email which differs from the one currently associated with their contact, then the integration bus task contains the old email not the new one.

Of course for the purposes of CRM I need to ensure I'm pushing the latest contact data. Is there anything I can do to ensure the integration task is logged after the contact is updated?

I'm subscribing to the task in the connector like this:

var contactUpdate = new ObjectIntegrationSubscription(ConnectorName, TaskProcessTypeEnum.AsyncSimple, TaskTypeEnum.UpdateObject, null, PredefinedObjectType.CONTACT, null);
this.SubscribeTo(contactUpdate);

Recent Answers


Tom Troughton answered on March 31, 2015 18:24

Update:

It appears I may have been mistaken here. Later tests seem to confirm that the integration tasks do seem to contain the contact data as updated by the bizform.

I'd appreciate it if anyone could confirm the expected behaviour.

Thanks.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.