Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

On Demand Workflow from Button

Posted on by

I am having trouble getting a button configured to run an on demand workflow.  I have followed the instructions from Scott Durow found here: https://ribbonworkbench.uservoice.com/knowledgebase/articles/132235-create-a-workflow-short-cut-ribbon-button-no-code.  Screenshots of the configuration are here:

7506.1.png

1220.2.png

Error when clicking button 1 or more records selected:

4834.3.png

What am I missing?

*This post is locked for comments

  • Cyclefitness Profile Picture
    Cyclefitness on at
    RE: On Demand Workflow from Button

    That worked!  Thanks, Andrew.  Now I know the order is important. ;-)

  • Cyclefitness Profile Picture
    Cyclefitness on at
    RE: On Demand Workflow from Button

    Didn't realize the order mattered.  I changed SelectedEntityTypeName to SelectedEntityTypeCode because TechNet says Name is being deprecated.  Let me try your suggestions.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: On Demand Workflow from Button

    Debra,

    List and types of parameters are critical. Compare your and Scott's definitions:

    7506.1.png

    As a first parameters you have to pass SelectedControl instead of SelectedControlSelectedItemReferences that should be passed as second.

    Also I noticed that you pass SelectedEntityTypeName instead of SelectedEntityTypeCode - change this as well.

  • Cyclefitness Profile Picture
    Cyclefitness on at
    RE: On Demand Workflow from Button

    Hi Andrew ... I only need it on the Default View.

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: On Demand Workflow from Button

    Debra,

    Is it button on the grid or on the form of record?

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

Featured topics

Product updates

Dynamics 365 release plans