locked
Get data from external database in custom workflow activity CRM 2013 RRS feed

  • Question

  • Hi,

    Is it possible to read data from external database and write to CRM from custom worflow activity ?

    Do you have any sample code ?

    br

    Friday, June 20, 2014 12:39 PM

All replies

  • Hi,

    Here is an example of how to access an external database and fetch data using CRM Plugins, but I believe the code for accessing the database will the same for Custom Workflow as well. As for writing to CRM (creating/updating records), it's possible using custom workflow.


    Admin QuikView Solution for CRM 2013



    Friday, June 20, 2014 12:50 PM
  • That works with CRM2013 too ?
    Friday, June 20, 2014 2:05 PM
  • Yes,

    But, Workflow is a better option if you need to send email, change a entity fields create new records when something is change and so one.

    Custom WorkFlow Activity, is like a plugin, is custom code in c# or VB.NET using CRM SDK. Inside you can do that operation with no problem (remeber that if you are in CRM Online you have SandBox environment so acess to other databases can be painful (https need));

    if you want to integrate 2 systems, use plugin as asynchronous, is a better choise that CWA.

    kind regards



    • Edited by Rockxl1 Friday, June 20, 2014 2:18 PM
    Friday, June 20, 2014 2:16 PM