en:docuteam:doc_observer
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:docuteam:doc_observer [2018/12/17 08:49] – irina | en:docuteam:doc_observer [2023/02/06 15:23] (aktuell) – gelöscht Administrator | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ===== Automated start of workflows with an observer ===== | ||
| - | It is possible to start a workflow or a queue of several workflows with an observer. The configuration has to be defined in the file config\doc_observer.yml. | ||
| - | < | ||
| - | # | ||
| - | hotfolder_xy: | ||
| - | directory_watcher: | ||
| - | directory: /tmp # directory to watch | ||
| - | glob: */** # pattern for files to watch | ||
| - | interval: 5.0 # interval between runs (in seconds) | ||
| - | stable: 2 # number of runs until a file is stable | ||
| - | persist: / | ||
| - | |||
| - | webservice: | ||
| - | uri: localhost: | ||
| - | user: user # user name for basic authentication | ||
| - | password: passwort123 | ||
| - | | ||
| - | #Use one of these configuration parameters to define which workflow(s) to execute | ||
| - | workflow_id: | ||
| - | workflow_ids: | ||
| - | |||
| - | teardown_workflow_id: | ||
| - | |||
| - | path: | ||
| - | parent: false # submit the parent path of the object { true | false (default) } | ||
| - | absolute: false # submit the absolute path of the object { true | false (default) } | ||
| - | extension: false # submit the filename with the extension { true | false (default) } | ||
| - | |||
| - | </ | ||
| - | |||
| - | The observer has to be started with its label: | ||
| - | < | ||
| - | |||
| - | (whereas the " | ||
en/docuteam/doc_observer.1545032985.txt.gz · Zuletzt geändert: 2019/01/07 11:26 (Externe Bearbeitung)