Skip to main content
Community site session details

Community site session details

Session Id : 6SVtvLvTstCTayNqIP23o5
Power Automate - Building Flows
Answered

Flows clear Option Set value in Dynamics 365

Like (0) ShareShare
ReportReport
Posted on 20 Mar 2020 10:29:23 by 184

Hi

 

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

 

 

Thanks

Vikram

  • arjunmusuvathy Profile Picture
    184 on 23 Mar 2020 at 02:45:45
    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  

  • arjunmusuvathy Profile Picture
    184 on 20 Mar 2020 at 13:19:19
    Re: Flows clear Option Set value in Dynamics 365

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

  • Verified answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on 20 Mar 2020 at 11:11:34
    Re: Flows clear Option Set value in Dynamics 365

    Hi @arjunmusuvathy 

     

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Loading complete