Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Performing an action every x minutes

Posted on by Microsoft Employee

Hi,

I am currently developing a Solution that makes external calls to pull in data from our API. I have got the process working on a manual button would ideally like the system to pull in new data automatically. I have tried a variety of different approaches including waiting workflows, holding onto threads in a plugin and scheduling bulk deletes but due to the short time-span between calls I keep running foul of timeouts and loop detection.

Is there an established way to have regular calls or any tips for getting around this issue? We have a lot of clients that would implement this package so the ideal solution would work for cloud / on premise and across as many versions as possible.

Any advice would be greatly appreciated, thanks,

Ciar.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Performing an action every x minutes

    Thank you both. I was hoping to avoid using external systems or anything server based but it looks like the only way to get very regular calls. I have been testing with hourly calls being triggered by 24 bulk delete jobs which seems to be working and may be close enough.

    Cheers.  

  • Suggested answer
    jlattimer Profile Picture
    jlattimer 24,558 on at
    RE: Performing an action every x minutes

    If you got access to Microsoft Azure, it's got some easy options for scheduling

  • Verified answer
    Jason M. Cosman Profile Picture
    Jason M. Cosman 5,234 on at
    RE: Performing an action every x minutes

    Hello Ciar;

    There isn't the ability with CRM out of the box to have reoccurring pulls like your trying to solve. Many will use systems like KingswaySoft or Scribe for these types of operations. If you do find a solution within CRM itself I would worry about potential load on async services depending on how much data and how often your going to schedule the pull.

    I've seen custom windows apps built then scheduled with windows scheduler on a CRM server to do what your looking for before; but this would be custom coding outside of the CRM interface.

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