Duplicate workflows appearing in advanced find – CRM 365

Today while trying to call an on demand a workflow in a custom plugin, I started to see that CRM was throwing an error similar to: "The workflow should be an on-demand workflow or child workflow" and the most frustrating thing was that this workflow was already set with that configuration(On Demand). Searching for the … Continue reading Duplicate workflows appearing in advanced find – CRM 365

Associate records in plugin

When creating N:N relationships between entities, CRM allow us to associate records. This is a great functionality to track and reference records through entities. Although this can be done manually, find below a method to associate two records programmatically: