Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to run workflow on ribbon button

Posted on by Microsoft Employee

Hello,

I create  two buttons 

1. unit book

2.unit block

and i also create a workflow for unit book & unit block,and its works finely

but i want to run that workflow on the ribbon button

Tell me the step to  run workflow on ribbon button

i am using Microsoft Dynamics crm 365 online.

please help me .

thank you in advance.

*This post is locked for comments

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: How to run workflow on ribbon button

    Hi,

    See: community.dynamics.com/.../193211

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    it's not working .does't get the required output :(

    see below ,i want to remove that popup . 

    workflowerror.jpg

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    not getting the required output :(

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: How to run workflow on ribbon button

    Hi,

    You could stop the workflow with the status of Succeeded and in the Set properties window, you can set a custom message.

    See: nakedcrm.wordpress.com/.../using-workflows-to-validate-records-to-prevent-creates-updatesassign-and-deletes

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    Hello ,

    Sorry to disturb you again .

    We have another requirement is,instated of this popup  we have "Unit Book Successfully" popup.

    How to do that ?

     errorworkflow.jpg

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    hello,

    thank you so much for help.Error solved .

    thank you Gopalan Bhuvanesh and Nithya Gopinath your suggestions works.

  • Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: How to run workflow on ribbon button

    Please check the workflow id is correct.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    Here is the log file -

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4854CF7CDetail: 

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
    <ActivityId>ef8c2a8d-59f7-43bc-b7a8-35c2c19909df</ActivityId>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4854CF7C</Message>
    <Timestamp>2017-05-10T10:51:42.0685591Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault>
    <ActivityId>ef8c2a8d-59f7-43bc-b7a8-35c2c19909df</ActivityId>
    <ErrorCode>-2147220969</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>workflow With Id = dcf0523c-18a5-4077-a4f3-7692c4724f2b Does Not Exist</Message>
    <Timestamp>2017-05-10T10:51:42.0685591Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText>

    [Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
    [46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]


    </TraceText>
    </InnerFault>
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
    </OrganizationServiceFault>

  • Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: How to run workflow on ribbon button

    Hi

    Which approach you have done?

    What values you have set.

    Please download the log and copy it here please.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to run workflow on ribbon button

    still it gives the same error

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