Dynamics 365 – Get E-mail Address of Activity Parties from SDK (RetrieveMultiple)

By using below code you can retrieve all Required and Optional Attendees of an Activity. You don't need to specify the name of the entity. By doing it so, it allows you to use it for any of the activity entity. public List<string> RetrieveActivityPartyEmails(IOrganizationService service) { var activityId = new Guid("[your_activity_id]"); List<string> emailAdresses = new … Continue reading Dynamics 365 – Get E-mail Address of Activity Parties from SDK (RetrieveMultiple)

Dynamics 365 Workflow Activity – Set MultiSelect Optionset field by a Workflow

In Dynamics 365, you can't change value of a MultiSelect Optionset filed in a Workflow or Business Rule as out of box. But by using below code you can create a Custom Workflow Activity to set any MultiSelect Optionset field in any entity. It's fully generic. Target Record URL (required) : URL of the record to … Continue reading Dynamics 365 Workflow Activity – Set MultiSelect Optionset field by a Workflow

Dynamics 365 – Set Business Process Flow Stage Automatically by Using a Workflow

Create a new Process in Category of Worklfow.Choose the entity with the same name as Business Process Flow you want to Set it's Stage.Check the "Run this Workflow in the background" option. Check the "Process Changes" option.Click "Select" button. Choose your "Record Type" with the Entity Type and choose your attribute for triggering the Stage … Continue reading Dynamics 365 – Set Business Process Flow Stage Automatically by Using a Workflow