Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Adding a dedicated server for a particular Job Que in NAV 2017

Posted on by Microsoft Employee

Hi,

We have a customer that wants to do EDI files through Job Que and want to know if we can assign 1 dedicated server for this task.

Prior to NAV 2017, we were abler assign a specific server in the Job Que Entry Card, General fast tab. However, we are not seeing this setting this in NAV 2017. IS there a way to still do this?

Is it still possible to choose 

*This post is locked for comments

  • curlyrainbow Profile Picture
    curlyrainbow 5 on at
    RE: Adding a dedicated server for a particular Job Que in NAV 2017

    Dedicated servers can be tricky like that and it can be really hard to set them up, but there are ways to solve that. If you get the right dedicated server, you will not struggle with the set up because they come ready. You can go to GTHost and check out their cheap dedicated servers. They have awesome offers on those now and you will get one in just 15 minutes. They are using the best available components so their servers are very reliable. They will not look to scam you with some hidden fees and you get 100% network uptime. Your servers will constantly be getting better because they are updating them. It is great that we can now have affordable dedicated servers.

  • JuliaHemmings Profile Picture
    JuliaHemmings 5 on at
    RE: Adding a dedicated server for a particular Job Que in NAV 2017

    Have you managed to do it?

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Adding a dedicated server for a particular Job Que in NAV 2017

    Actually not possible, but you can create a workaround.

    1) store in the Job Queue Entry task the Server and Instance which you want to run the code in.

    2) in your Dispatcher-Codeunit (for example 448) make something like this:

    // get current server instance

    ServerInstance.GET(SERVICEINSTANCEID);

    IF ServerInstance."Service Name" <> JobQueueEntry."Server Instance to be executed on" THEN

     EXIT;

    // check for current session

    IF SESSIONID <> JobQueueEntry."Session to be executed in" THEN

     EXIT;

    ExecuteFunction(); // call Codeunit or Report as configured in Job Queue Entry here

    Otherwise, there are more performan way to execute NAV scheduled tasks without using Job queue, like for example Powershell and InvokeNavCodeunit:

    demiliani.com/.../an-alternative-job-scheduler-for-nav

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