Using If-Then Logic

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.
Post Reply
User avatar
Max Beermann
Posts: 68
Joined: Tue Oct 30, 2018 7:36 am

Using If-Then Logic

Post by Max Beermann »

Hello Bernd,

I have a quick question concerning one thought:

Thought:

If my tour is going through switzerland, then "I want to avoid switzerland".
"parameter": "EXCLUDE_COUNTRIES", "value": "41"

If my tour is ending in switzerland, then "it is okay".

Question:
Is it possible to include an If-Then-Logic within the request (e. g. xroute)?

Thanks in advance & Best regards
Max Beermann
Max Beermann
Development Manager
WHEELS Logistics
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Using If-Then Logic

Post by Bernd Welter »

Hello Max,

no, we do not determine this. The current implementation is base on a concious user who knows when it i s meaningful to apply specific settings. From an application developer point of view you might enforce a "speaking" routing (or even linking) error and then react on it.

By the way: it is the same with "delivery only passage".

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Max Beermann
Posts: 68
Joined: Tue Oct 30, 2018 7:36 am

Re: Using If-Then Logic

Post by Max Beermann »

Good morning Bernd,

thanks for your helpful feedback.


Best regards
Max Beermann
Max Beermann
Development Manager
WHEELS Logistics
Post Reply