In this article we will see how to update a multi-select option set attribute within a workflow using the community utility Dynamics-365-Workflow-Tools SetMultiSelectOptionSet:
In our above example, the workflow “Opportunity – Set default Business Region” set the values “UK” and “Spain” for new opportunity records. This is a simple way to set the default value for multi-select option set attributes, which is one of the current limitations at the moment.
This custom workflow activity requires the following input parameters:
- Target Record URL: URL of the record to be updated.
- Attribute Name: logical name of the attribute to be updated.
- Attribute Values: option set values to be set. They should be separated by comma. In case you want to clear the values, just use an empty string like “”. See an example below.
If you have found this utility helpful and you want to use it, you just need to install the latest version of Dynamics-365-Workflow-Tools and add the SetMultiSelectOptionSet step into your workflow: