Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How can I invoke an instant flow to ask for a parameter on click of a wizard button

(0) ShareShare
ReportReport
Posted on by 179

Hi community,

Could I get some guidance on if calling an instant flow is achievable with this:  use case: would be to invoke a flow on a click of wizard button to ask for input parameter based on another look up field and then populate the field with cancellation reason (options)?

_5F00_0949.jpg

_5F00_0950_5F00_LI-_2800_2_2900_.jpg

Thanks in advance.

  • Sol007 Profile Picture
    Sol007 179 on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

    Hi Andrew,

    Sorry not sure I understand your response. Are you saying to call action using javascript on click of ribbon button on an entity is unsupported?

  • a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

    Hello,

    Unfortunately, this API is not documented so it's unsupported to use it and I don't know if it is even possible.

  • Sol007 Profile Picture
    Sol007 179 on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

     a33ik  could this be rather achievable by js code on click of the Cancel button on the command bar of the entity form? I am slightly stuck since there is no good way to configure a popup for the on-demand flow. I am grateful for any steps/help.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

    Hello,

    There is no good way to open the popup for the on-demand flow. I would recommend instructing users to run the flow from "Flows" menu on the record.

  • Sol007 Profile Picture
    Sol007 179 on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

    Hi Andrew,

    Thanks for sharing the link - but I am unclear if the post touches on how to achieve my use case. The wizard button (Cancel) in my screenshot is a button that cancels an appointment record. Would I have to open the javascript logic of the button on the command bar in the form? I'll be grateful for your further guidance about it.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How can I invoke an instant flow to ask for a parameter on click of a wizard button

    Hello,

    Check this post - d365goddess.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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans