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.

Using If-Then Logic

Postby Max Beermann » Fri Nov 16, 2018 12:57 pm

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
User avatar
Max Beermann
 
Posts: 42
Joined: Tue Oct 30, 2018 7:36 am

Re: Using If-Then Logic

Postby Bernd Welter » Fri Nov 16, 2018 1:00 pm

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
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1457
Joined: Mon Apr 14, 2014 10:28 am

Re: Using If-Then Logic

Postby Max Beermann » Mon Nov 19, 2018 7:00 am

Good morning Bernd,

thanks for your helpful feedback.


Best regards
Max Beermann
User avatar
Max Beermann
 
Posts: 42
Joined: Tue Oct 30, 2018 7:36 am


Return to Generic questions

cron