- Created by YellowFox R&D, last modified on Feb 23, 2021
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
You have English selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display defaultHier können Sie Ihre benutzerdefinierten Tour Workflows anlegen, bearbeiten und verwalten. Um dieses Modul nutzen zu können, muss für Ihre Firma das Modul "Touren" freigeschaltet sein und Sie müssen das Portalrecht "Aufträge/Nachrichten konfigurieren" besitzen.
Was ist ein Workflow?
Eine Tour besteht aus Zielen die der Fahrer anfahren soll und Sendungen, die dabei auszuführen sind. Wenn Sie eine Tour an ein Display übermitteln, so kommt diese zunächst als einfache Menge an Daten an, ohne Vorgabe, wie diese zu bearbeiten sind. Workflows geben Ihnen die Möglichkeit, Arbeitsabläufe zu definieren und Ihren Fahrern somit die Arbeit zu erleichtern. Ein Workflow besteht aus einer Menge an Statusmeldungen, die in Abhängigkeit zueinander stehen. So können Sie beispielsweise definieren, dass ein 'Tour beendet' Status erst gedrückt werden darf, nachdem 'Tour gestartet' gedrückt wurde. Ebenso können Sie die Abarbeitungsreihenfolge der einzelnen Ziele und Sendungen vorgeben, sowie weitere Aktionen an das Auslösen eines Status binden.
Ein Workflow wird jeweils an ein einzelnes Element der Tour gebunden, d.h. entweder an eine Tour, ein Ziel oder eine Sendung. Ein Workflow ist universell einsetzbar, sie müssen zuvor nicht definieren für welche Art von Element er gelten soll. Die Angabe eines Workflow ist nicht verpflichtend. Ebenso können Sie Workflows auch nur an eine einzelne Elemente der Tour anhängen und andere freilassen.
Da Workflows eigene Statusmeldungen definieren, wird damit die Standard-Tourstatuskonfiguration für das Element, an dem dieser Workflow hängt, überschrieben.
Status
Zentrales Element eines Workflow sind Statusmeldungen. Grundlegend unterscheiden wir zwischen Displaystatus, also Statusmeldungen die vom Fahrer auf dem Display gedrückt werden, und Systemstatus, das sind Status die automatisch z.B. beim Starten der Navigation erzeugt werden. In Ihrem Workflow können Sie beliebig viele Status hinzufügen. Diese sind analog zu Auftrags- und Tourstatus konfigurierbar. Sie können Ihre vordefinierten Statusmeldungen aus diesen Standardkonfigurationen als Vorlage einbinden. Beachten Sie jedoch, dass Änderungen in der Auftragsstatus- bzw. Tourstatusverwaltung keinen Einfluss auf bestehende Workflows haben!
Aktionen
An einen Status können Aktionen gebunden werden. Diese werden ausgelöst, sobald dieser Status auf dem Display gedrückt wurde bzw. der Systemstatus automatisch ausgelöst wurde. Folgende Aktionen sind verfügbar:
Aktion | Beschreibung |
---|---|
Element aktiv setzen | Markiert dieses Element (z.B. die Tour an der dieser Workflow hängt) als aktiv. |
Element beenden | Markiert dieses Element (z.B. die Tour an der dieser Workflow hängt) als beendet. |
Kindelemente beenden | Beendet alle Kindelemente. (z.B. alle Sendungen eines Ziels an welchem dieser Workflow hängt) |
Kindelement öffnen | Öffnet das erste Kindelement auf dem Display. (z.B. das erste Ziel einer Tour) |
Formular öffnen | Öffnet ein benutzerdefiniertes Formular. |
Navigation starten | Startet automatisch die Navigation. |
Folgestatus auslösen | Löst einen internen Folgestatus aus. Dieser hat keinen Einfluss auf das Verhalten auf dem Display. Das ist vorwiegend relevant für Schnittstellen. |
Abhängigkeiten
Eine Abhängigkeit markiert die Reihenfolge zweier Statusmeldungen. Besteht eine Abhängigkeit von Status A zu Status B, so bedeutet dies, dass Status B auf dem Display erst zur Auswahl gestellt wird, wenn der Fahrer zuvor Status A gedrückt hat. Von einem Status aus, können beliebig viele Abhängigkeiten zu anderen Status existieren. Abhängigkeiten sind immer in eine Richtung gerichtet. Sie können auch Schleifen anlegen. Status die initial angezeigt werden sollen, benötigen eine Abhängigkeit vom Start-Knoten aus. Status die als Aktion das Element beenden, zeigen automatisch auf den End-Knoten. Wenn ein Status keine Abhängigkeit zu einem anderen Status oder dem End-Knoten besitzt, so kann das aktuelle Element nicht mehr vom Display aus beendet werden.
Workflow anlegen / bearbeiten
Um einen neuen Workflow anzulegen, klicken sie zunächst auf Erstellen. Der Editor startet initial mit einem Start- und Endknoten. Diese Knoten können Sie verschieben, jedoch nicht weiter bearbeiten. Auf der rechten Seite sehen Sie die Meta-Informationen Ihres Workflow. Hier können Sie einen Namen und eine Beschreibung festlegen. Der Name muss eindeutig sein. Weiterhin geben Sie hier die Abarbeitungsreihenfolge des Workflow an. Eine freie Reihenfolge bedeutet, dass alle Kindelemente des Elements an welches dieser Workflow gebunden wurde, in beliebiger Reihenfolge bearbeitet werden können (z.B. Workflow hängt an einem Ziel, dann können die Sendungen beliebig bearbeitet werden). Eine feste Reihenfolge gibt vor, dass der Fahrer die Kindelemente in der vorgegebenen Reihenfolge zu bearbeiten hat (z.B. Workflow hängt an einer Tour, dann muss zunächst Ziel 1, dann Ziel 2 usw. angefahren werden).
Um einen neuen Status hinzuzufügen, klicken sie links oben in der Werkzeugleiste auf neuer Status. Über das danebenstehende Häkchen können Sie die Liste an vordefinierten Auftrags- und Tourstatus aus Ihren Konfigurationen öffnen. Wählen Sie einen dieser an, um den entsprechenden Status als Vorlage in den Editor zu laden.
Um einen Status zu verschieben, klicken Sie diesen zunächst an. Anschließend können sie durch Ziehen des Icons oben rechts den Status bewegen. Durch das Anklicken des Status öffnet sich ebenfalls die Detailansicht dessen auf der rechten Seite. Hier sehen Sie alle Meta-Informationen die zu diesem Status gehören. Um diese zu bearbeiten, klicken Sie auf den Button Bearbeiten. Es öffnet sich ein neues Fenster. Klicken Sie auf Übernehmen, um die getätigten Änderungen in den Workflow zu übernehmen und die Ansicht zu aktualisieren. Ein Status ist definiert durch eine ID, eine optionale Kennung, einen deutschen Statustext und beliebig viele Übersetzungen. Weiterhin können Sie eine Farbe definieren. Diese hat ausschließlich Auswirkungen auf die Darstellung im Editor und wird nicht an das Display übertragen.
Darunter stehend sehen die angehängten Aktionen. Um eine neue Aktion hinzuzufügen, klicken Sie auf + Aktion. Es öffnet sich ein neues Fenster. Hier können Sie einen Aktionstyp auswählen (siehe oben). Für "Kindelemente beenden" und "Folgestatus auslösen" müssen Sie jeweils den Status angeben, der bei Auslösen dieser Aktion intern gesetzt werden soll. Das hat keine direkten Auswirkungen auf die Anzeige auf dem Display, kann aber beispielsweise per Schnittstelle ausgelesen werden. Für "Formular öffnen" müssen Sie ein entsprechendes Formular auswählen. Mit Ausnahme von "Folgestatus auslösen" können alle Aktionen nur einmalig pro Status an diesen gebunden werden. Klicken Sie auf Übernehmen, um die getätigten Änderungen in den Workflow zu übernehmen und die Ansicht zu aktualisieren. Um eine bestehende Aktion zu bearbeiten, fahren Sie mit der Maus über diese. Hier können Sie erneut das Fenster zum Konfigurieren über das Zahnrad aufrufen oder die Aktion per Papierkorb löschen. Sie haben ebenfalls die Möglichkeit die Aktionen in ihrer Reihenfolge zu bearbeiten, indem Sie auf das Icon links klicken und die Aktion an die entsprechende Stelle ziehen.
Workflows nutzen
Workflows sind aktuell ausschließlich über den TourWS nutzbar. Die Doku zum TourWS finden sie hier.
Workflows können nur auf Displays die mindestens die Fleet App Version ??? besitzen genutzt werden.
- No labels