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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to handle process which might take a long time

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,570 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.

  • Community Member Profile Picture
    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

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 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
    on at
    RE: How to handle process which might take a long time

    inserting rows of data for generating reports.

  • Suggested answer
    Ajit Profile Picture
    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans