Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Question on Dynamics workflows setting fields

Posted on by 385

I have a workflow I created as an on demand workflow.

It changes some states and some fields. Which all works fine.

But there are some fields that for some reason I can't edit in the workflow properties dialog?

Was just wondering why.

At first I thought because the field was read only?  But I changed it to not read only, saved/published...

And still couldn't edit it.

The field I want to change is an option set.

Is that why?  But I can change other option set fields?

Is there a list of what can be set using a workflow or rules for it?

Thanks,

Terry

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Question on Dynamics workflows setting fields

    Good to Know, thank you for the tip. 

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Question on Dynamics workflows setting fields

    @Mehdi,

    This is the historical thing. For some reason Microsoft block fields with attached handlers for workflows and for bulk editing. I don't know the reason but I know how to fix it :)

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Question on Dynamics workflows setting fields

    Please check this blog:

    crmtipoftheday.com/.../

  • Mattw112b Profile Picture
    Mattw112b 385 on at
    RE: Question on Dynamics workflows setting fields

    Unless... does PowerApps count as an event handler?  I have some javascript that opens a dialog PowerApp that sets this field?

    Terry

  • Mattw112b Profile Picture
    Mattw112b 385 on at
    RE: Question on Dynamics workflows setting fields

    Thanks.  It isn't a multi select just a regular option set.  Choose one.

    Also no event handlers attached to this particular field.

    Thanks,

    Terry

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Question on Dynamics workflows setting fields

    Hi Andrew,

    I can't understand why an attached event handler may be the problem. Can you please explain ?  Thank you

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Question on Dynamics workflows setting fields

    Hello Terry,

    Check if this field has event handlers attached. If it is - remove handler, save an publish, refresh workflow, field should be enabled, do whatever you need in workflow, save and publish, go back to entity form, reattach handler.

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Question on Dynamics workflows setting fields

    Hi,

    Can you please check if the field is a MultiOptionSet.

    There is some limitations about this field type.

    www.itaintboring.com/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans