Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Trigger plugin on stage process change

Posted on by 1,558

Hello All,

I need to trigger plugin on stage process  change .

Is there any way to trigger plugin in CRM.

*This post is locked for comments

  • Tin Profile Picture
    Tin 1,558 on at
    RE: Trigger plugin on stage process change

    Hello David, Thanks but here is no any field shown in plugin registration tool,could you please suggest more.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Trigger plugin on stage process change

    See the following:

    social.microsoft.com/.../triggering-plugin-with-change-of-business-process-stage

    There are several options here, but it is not clear cut.

    Your plugin would have to run on the pre-update message.

  • Verified answer
    SergiiChvyr Profile Picture
    SergiiChvyr on at
    RE: Trigger plugin on stage process change

    You should be able to add a plugin on Update with filtering attribute Traversed Path at least.

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Trigger plugin on stage process change

    To fire a plugin on the stage change, I expect you could register a plugin on the Update message, with FilteringAttributes = activestageid

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Trigger plugin on stage process change

    Hi Tin,

    I am not sure about plugins (there may be some ways) but if you are on D365, you can trigger workflows on stage change i.e. create real time workflow on the Business Process Entity and call your custom workflow activity.

    Refer below screenshot-

    BPFWorkflow.png

    Hope this helps.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans