Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How to handle process which might take a long time

Posted on by Microsoft Employee

I have a page where user click on the button and it will join few tables and generate table rows which might take 5 - 10 minutes. I am a little bit afraid there is going to be session timeout and not all rows will be generated. What is the session timeout duration on D365 for operation? Is there any way to set longer session timeout length?

*This post is locked for comments

  • Suggested answer
    Ajit Profile Picture
    Ajit 8,755 on at
    RE: How to handle process which might take a long time

    Add that process in batch and save that report at some network path or send an email with report.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to handle process which might take a long time

    inserting rows of data for generating reports.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: How to handle process which might take a long time

    Hi shinystar,

    What business process would justify running it synchronous? Like martin stated, a background process or batch job might be better to use.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to handle process which might take a long time

    Yeah I think I should be process so I am not going to clog the server. If I am going this way is it easy to display the progress bar? I was just looking at this but there is no option to change this default modal dialog into the progress bar.

    community.dynamics.com/.../synchronous-and-asynchronous-operations-in-ax-7

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,149 Most Valuable Professional on at
    RE: How to handle process which might take a long time.

    Is it necessary to do it synchronously? Starting a background process, allowing the user to do something else in those ten minutes and notifying him when data is ready sounds like a better approach to me.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans