Skip to main content

Troubleshooting

This document covers some of the most frequently asked questions when it comes to the bidirectional message flow between Dime.Scheduler and NAV.

The first thing that you'll typically do when a new instance of Dime.Scheduler has been made available to you, is run the FastTrack Wizard in NAV. It is imperative to diligently run through each step in the wizard.

The first step is likely to be the first potential bottleneck since it's where you set up the message flow to Dime.Scheduler. You need to specify the environment and a set of credentials of a Dime.Scheduler forms user, which is where it tends to go wrong.

A few common errors include the following:

  • A user account that's been used in more than one tenant.
  • A user account of an actual human is being used, rather than a service account. When that user resets their password, the integration falls apart just like that. So by all means, use a user account such as [email protected].
  • Do not use any of the domains managed by Dime Software either as that imposes a security risk.
  • It must be a Forms account on a domain controlled by your customer. MS Entra ID accounts are not supported in the API, so it has to be a Forms user account.
  • Select the right environment (sandbox or production), and make sure that this user exists in the instance on that environment.

Dime.Scheduler to NAV

The message flow from NAV to Dime.Scheduler is quite easy to set up, thanks to the FastTrack Wizard and the connector for Dime.Scheduler in NAV. The opposite message flow is a tad more tricky as we're at the mercy of the particular setup of NAV.

There are two potential points of failure:

  • Dime.Scheduler couldn't make contact with NAV.
  • NAV received the appointment but couldn't process it.

Appointments don't show up in NAV

The first thing to do when you suspect appointments aren't pushed to NAV is to check out the transactions. You can use the dedicated pages through the sidebar menu, or if you know the troubled appointment, you can simply right click on the appointment in the planning board and click 'View transactions'.

This opens the detail page for this appointment. It shows some basic information about the appointment, as well as information about the associated connector (if any), and the transactions that were made to write back to NAV, Exchange, and/or webhooks:

API permissions

The transactions show provide you with sufficient details about what went wrong. Here are a few common errors:

  • There is no connector (for this item). When you send data from NAV, we pass along an administration identifier along with it, aptly called the Source App. To send a planned appointment back to NAV, we look for connector entries with the same value. When there's no matching connector record, nothing will be sent back.
  • The connector entry is invalid or incomplete. Usually, this means the administrator has passed in the wrong URL and/or credentials.
  • The backoffice system is unavailable: the administrators must make the NAV SOAP Url available to Dime.Scheduler.

Appointments couldn't be processed in NAV

When Dime.Scheduler could successfully drop the appointment in NAV, a transaction is marked as succesful. It doesn't necessarily mean that the appointment has succesfully been processed though.

In NAV, look for the Dime.Scheduler Appointments table. This table shows the transactions in NAV and their status. When the status is not 'Processed', something must have gone wrong. Click on the column to see more information on the error:

Appointment list