Our CRM system was upgraded and the database is in a new location. In order to minimize the impact, I edited the existing data source to point to the new database location. Since this change, I've noticed a few things.
- The workflow definitions did not automatically point to the new data source. Instead, it seems to have its own cache of the connection information. Why doesn't it look to the server for the data source configuration?
- How can I update the currently running workflows to look at the new database location? If there isn't a way, there needs to be! This kind of thing happens all the time and it makes workflows that last a few days or more dangerous to implement.
- I had to open each affected workflow and toggle the data source to another source and back to the CRM system and the connection information appeared to change in the workflow for all queries in the entire workflow definition. Strange, but fine.
- The query results are strange. I test in the workflow designer and I get 4 results. I run the query in SQL Studio and I get 4 results. But, when the workflow runs, it returns 2 results. Why would this be happening?
If someone can explain how the data source mapping works, that would be helpful.
If someone has a better idea of how to make this change (whether now or in the future), let me know.
Thanks in advance.