Skip to main content

Notifications

Microsoft Dynamics CRM forum
Suggested answer

Create a Workflow to clear a Read-Only Field

Posted on by 2
I am trying to create an on-demand workflow that clears a field if the contact is inactive. The field I am trying to clear is read-only so I am not able to select it. Does anyone know a workaround I can use to accomplish this?
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Create a Workflow to clear a Read-Only Field
    Hi,
     
    Has the issue been solved?
    Have there been any updates? Please feel free to ask me if you have any questions!
    If it has been resolved, can you mark the response as an answer?
     
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Create a Workflow to clear a Read-Only Field
    Hi,
     
    I'm afraid it's not possible to achieve your goals through workflow.
    I am also unable to select read-only fields in the Update Record step of the workflow.
     
    You can also do this with Business Rule.
    When you open a contact record, Business Rule first checks to see if the current contact record is inactive.
    If it is, the specific read-only field is cleared.
     
     
    Best Regards,
    Dengliang Li
     
  • JenWariner Profile Picture
    JenWariner 2 on at
    Create a Workflow to clear a Read-Only Field
    I am new to CRM and not familiar with the process you are using. This is the process I am using, and when I got to "Set Properties", I cannot select the read-only fields that I want to clear.

  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Create a Workflow to clear a Read-Only Field
    Hi,
     
    This can be implemented with Power Automate Flow.
    In my testing, the Email field is set to read-only.
     
    List rows expression: statecode eq 1 
    This expression filters out inactive contact records.
     
    Provides a null value for the read-only field Email explicitly.
     
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans