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 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
    239,741 Most Valuable Professional on at

    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

    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
    305,781 Super User 2026 Season 1 on at

    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

    inserting rows of data for generating reports.

  • Suggested answer
    Ajit Profile Picture
    8,788 on at

    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

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 May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
Nagendra Varma K Profile Picture

Nagendra Varma K 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans