Run Workflow Smart Button in Ribbon Workbench | XrmToolBox

Here’s how you can use the Run Report button from Smart Buttons in Ribbon Workbench. In case you haven’t yet installed Smart Buttons in your Ribbon Workbench for your organization – Here’s a post for that – Install Smart Buttons for Ribbon Workbench | XrmToolBox

Now that it’s given you might have installed Smart Buttons already, let’s review how you can use the Run Report button for your Organization.

Scenario

I have a Workflow which updates the Account’s Account Grade field to the value Verified


And the field to be updated is as below –

Run Workflow button

Before we begin, add the entity-only in a Solution and then load it up into Ribbon Workbench –

  1. You’ll see Smart Buttons show up in your Ribbon Workbench.

  2. When you drag the button over to the Grid (Form in this case), you’ll be given this popup window to fill in the details of what the Run Workflow button should do –
    Title should be the title of the Window.
    Workflow Name should be the text Display Name of the Workflow itself.
    Start Workflow Confirmation Text should have the text that should be displayed on the confirmation dialog when clicked on the button.
    Success Callback JavaScript should have a JS snippet of what it should do upon success.
    Error Callback JavaScript should have a JS snipped of what it should do upon error in Workflow execution.


  3. Once you click OK, this is how it will appear.

  4. And that’s it, publish your changes and reload the Page to see the Smart Button to Run the Workflow in action!

Working

Let’s see below on how this Workflow button will work –

  1. On the Account form, I can now see this button being displayed and it has it’s Run Workflow icon built in.


  2. When you click the button, you’ll be seeing this message.

  3. And when it is running, you’ll see this notification on the form.

  4. And when this is done, it’ll change the value (or whatever your workflow is supposed to do).

Hope this helps!

Here are some Power Automate posts you want to check out –

  1. Select the item based on a key value using Filter Array in Power Automate
  2. Select values from an array using Select action in a Power Automate Flow
  3. Blocking Attachment Extensions in Dynamics 365 CRM
  4. Upgrade Dataverse for Teams Environment to Dataverse Environment
  5. Showing Sandbox or Non Production Apps in Power App mobile app
  6. Create a Power Apps Per User Plan Trial | Dataverse environment
  7. Install On-Premise Gateway from Power Automate or Power Apps | Power Platform
  8. Co-presence in Power Automate | Multiple users working on a Flow
  9. Search Rows (preview) Action in Dataverse connector in a Flow | Power Automate
  10. Suppress Workflow Header Information while sending back HTTP Response in a Flow | Power Automate
  11. Call a Flow from Canvas Power App and get back response | Power Platform\
  12. FetchXML Aggregation in a Flow using CDS (Current Environment) connector | Power Automate
  13. Parsing Outputs of a List Rows action using Parse JSON in a Flow | Common Data Service (CE) connector
  14. Asynchronous HTTP Response from a Flow | Power Automate
  15. Validate JSON Schema for HTTP Request trigger in a Flow and send Response | Power Automate
  16. Converting JSON to XML and XML to JSON in a Flow | Power Automate

Thank you!

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.