For what business cases were background sessions meant?

Miklos_Hollender
Member Posts: 1,598
This feature was added but not explained who and why needs it and for what purposes.
Same thing for queries, although I have figured this one out, it is not really an end user feature (because users cannot add filters manually before executing them, making them more or less useless as direct reports), it is more like meant for developers for performance reasons.
Same thing for queries, although I have figured this one out, it is not really an end user feature (because users cannot add filters manually before executing them, making them more or less useless as direct reports), it is more like meant for developers for performance reasons.
0
Comments
-
If you make different service running parallel to the current one. If you use this new service as, let's say, "NAS" (there is no NAS in 2013, but you may call it this way) working through Job Query generating reports or executing some codeunit. This session will be Background sesson.0
-
What do you mean there is no NAS? Page 677 even has fields like "start on this NAS instance".
If I get it right it would be uses mainly for error handling?0 -
The NAS and the Service Tier are the same.
You can start a Job Queue on the normal Service Tier that all users use or setup one specifically for the NAS.
I use the backgroundsessions to run multithreaded interfaces. With classic you were required to purchase a NAS license for every thread, now it is multithreaded for free.0 -
Background sessions can be used to run stuff in the background - Things that the user doesn't want to wait for to finish.
Miklos: Think of STARTSESSION as an async CODEUNIT.RUN.
Sessions: http://msdn.microsoft.com/en-us/library ... 2(v=nav.70).aspx
Of course you then need to keep track of whether the process finished, and if so, if it did it successfully. Therefore we also created the Job Queue functionality that can be used to 'streamline' the background processes.
And correct, just like queries, this is not end-user functionality; they are tools for the partner to improve performance or to put long-running tasks out of the user's view.
Besides: There is indeed a "NAS" in NAV2013. However, instead of a separate UI-less "client" as in NAV5.0, it's a separate process inside the NAV server.Bardur Knudsen
Microsoft - Dynamics NAV0 -
Miklos Hollender wrote:What do you mean there is no NAS? Page 677 even has fields like "start on this NAS instance".
If I get it right it would be uses mainly for error handling?
Explore STARTSESSION and STOPSESSION functions. Also, Job Queue codeunits working with it.
For better understanding you may write simple codeunit making some basic stuff and use separate session by means of the operators mentioned above.
Edit: sorry, the answer almost duplicates of what BardurKnudsen wrote in more details. Mentioned it too late.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions