Integration bus Tasks not syncing automatically

Mb _Krishna asked on June 9, 2017 05:38

I'm trying to integrate kentico with Dynamics CRM. I use schedule task to update my kentico contacts with respect to CRM contacts. When I create/update contact using API, an outgoing integration task is created as expected. But the problem here is the task remains in integration queue and does'nt sync automatically. Every time I need to manually sync. Is there any way I can sync those tasks automatically or on periodic basis ? Please share your thoughts on this. Thanks in advance.

Correct Answer

Roman Hutnyk answered on June 9, 2017 08:52

Are integration tasks in queue marked as failed? Or system does not process them at all?

You could use event handlers to run synchronization (https://docs.kentico.com/k9/custom-development/handling-global-events/automatically-synchronizing-staging-and-integration-tasks).

Other things to check:

  • Make sure processing of outgoing tasks is enabled (https://docs.kentico.com/k9/integrating-3rd-party-systems/using-the-integration-bus/enabling-the-integration-bus) in settings.
  • Check event log for errors
1 votesVote for this answer Unmark Correct answer

Recent Answers


Mb _Krishna answered on June 9, 2017 11:37

Thanks for the answer, Roman Hutnyk. Integration tasks in queue were not processed at all and that happens only if I use api to make changes to object. I resolved using event handler in the documentation.Since I have 2 to 3 connectors , I check the type of object and then assign appropriate connector class and pass it to ProcessTask method.

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on June 9, 2017 11:41

How do you save an object? - Do you use appropriate provider to create/update object?

0 votesVote for this answer Mark as a Correct answer

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