web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Asynchronous Plugin Retry

(0) ShareShare
ReportReport
Posted on by 1,720

Hi

I have an asynchronous plugin that is fired on PostCreate of an entity. If an error occurs during execution of plugin it retries itself after a certain period of time. I dont want it to retry, how can I do that?

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mir Hassan Ali Profile Picture
    1,720 on at

    Apparently, if you throw an exception of type InvalidPluginExecutionException, the retry mechanism won't trigger.

    Thanks

  • Suggested answer
    ScottDurow Profile Picture
    23 on at

    Hi!

    I've just published a blog post on this!

    develop1.net/.../Control-Async-Workflow-Retries.aspx

    Although I've never tried it for Async Plugins (only workflows) it is likely to work due to the fact that the two share the same execution mechanism.

    Hope this helps,

    Scott

  • JVE Profile Picture
    213 on at

    ScottDurow that provided link is outdated. This is the updated one: www.develop1.net/.../Control-Async-Workflow-Retries

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans