cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Flows clear Option Set value in Dynamics 365

Hi

 

How do I clear the Optionset field's value through flow? 

 

 

Thanks

Vikram

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Flows clear Option Set value in Dynamics 365

Hi @Vikram87 

 

Here I have a field called Type which is an optionset. What you need to do is set null expression as value. Please see below.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Flows clear Option Set value in Dynamics 365

Hi @Vikram87 

 

Here I have a field called Type which is an optionset. What you need to do is set null expression as value. Please see below.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Highlighted
Helper II
Helper II

Re: Flows clear Option Set value in Dynamics 365

@abm Thanks for the reply. I will test this and will update you shortly.

Highlighted
Helper II
Helper II

Re: Flows clear Option Set value in Dynamics 365

@abm This worked for option set, I will mark this as the solution.

 

When I used "null" to set Date field it threw me the error below. Probably it is string to datetime cast exception. Can you suggest me a way to blank out/clear datetime fields please?

 

Error:

while validating input parameters: Microsoft.OData.ODataException: Cannot convert the literal '' to the expected type 'Edm.Date'. ---> System.FormatException: String '' was not recognized as a valid Edm.Date.\\r\\n  

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,722)