{"__v":7,"_id":"5448c2bec64edd1a00453bd3","category":{"__v":8,"_id":"5447c9020319802200fc065c","pages":["544caa4d36475e0e005014e3","5448b7847018ed1400f606f5","5448b98b7018ed1400f606fa","5448ba9a7018ed1400f606ff","5448c1cbc64edd1a00453bd1","5448c2bec64edd1a00453bd3","5448c328c64edd1a00453bdf","5492aec86fe16616007f8e8a"],"project":"544371233a1a031a00db621d","version":"544371233a1a031a00db6220","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-22T15:10:58.602Z","from_sync":false,"order":9,"slug":"application","title":"Application"},"is_link":false,"parentDoc":null,"project":"544371233a1a031a00db621d","user":"544370c53a1a031a00db621c","version":{"__v":19,"_id":"544371233a1a031a00db6220","project":"544371233a1a031a00db621d","createdAt":"2014-10-19T08:06:59.858Z","releaseDate":"2014-10-19T08:06:59.858Z","categories":["544371233a1a031a00db6221","544373693a1a031a00db6224","5443799eeec0081a00075161","544646d182bd7e0800276763","54478af0b96a63140077d670","54479a7eb96a63140077d6a9","5447af97a1024f14005a6e0a","5447c23e8d7af31a00dd408a","5447c6a28d7af31a00dd409b","5447c8fd0319802200fc065b","5447c9020319802200fc065c","544e42acbd51b9080037f837","5451f39514af501a00b50fa0","5451f421fcaba808000c0f4c","546760c2016b480800bc7bd7","549d423f7805690b004a86a5","54a9516a2c8d8d0b00d08d78","54d9e792537ac319002bf90b","561466bb0ab2550d00166dbd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-23T08:56:30.296Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"results":{"codes":[]},"settings":"","try":true,"auth":"never","params":[],"url":""},"isReference":false,"order":5,"body":"The **Auto Displatch** *bringg app (tm)* is an application that takes over an order that not yet assigned to a driver and tries to locate a driver to assign it to. It is recommended that companies working with this application will also set up the Reject button string in order for the Driver to be able to reject it. See settings in [Company Configurations](doc:company-configurations).\n\nAfter installing the app, it should be further configured with the right business logic that will be used for the search. This is built from a set of *plugins* that the list of drivers go through, each implementing a different logic such as filtering out certain drivers or reordering them.\n\n**Application ID**: b624ae58-ee4c-47c0-9830-3d5963fec994\n\n**Configurations:**\n\n* Plugins: a sorted list of plugins to activate. Each plugin has the format:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"pluginName: {'active':true/false}\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\nCurrent options:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"* driversWithInventory: only drivers that have required inventory from the order\\n* driversWithAbility: only drivers that have required abilities set in the system\\n* ClosestDrivers: pick closest driver\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n* auto_assign_timeout_per_driver: The amount of time to provide each driver before moving on to the next driver.\n* auto_assign_timeout: The amount of time to try and locate a driver before ending the search.\n* on_search_fail: The outcome of not locating a driver. Setting this to 'cancel' will auto cancel the order.","excerpt":"Setting up and using Auto Dispatch Application","slug":"auto-dispatch-application","type":"basic","title":"Auto Dispatch Application"}

Auto Dispatch Application

Setting up and using Auto Dispatch Application

The **Auto Displatch** *bringg app (tm)* is an application that takes over an order that not yet assigned to a driver and tries to locate a driver to assign it to. It is recommended that companies working with this application will also set up the Reject button string in order for the Driver to be able to reject it. See settings in [Company Configurations](doc:company-configurations). After installing the app, it should be further configured with the right business logic that will be used for the search. This is built from a set of *plugins* that the list of drivers go through, each implementing a different logic such as filtering out certain drivers or reordering them. **Application ID**: b624ae58-ee4c-47c0-9830-3d5963fec994 **Configurations:** * Plugins: a sorted list of plugins to activate. Each plugin has the format: [block:code] { "codes": [ { "code": "pluginName: {'active':true/false}", "language": "text" } ] } [/block] Current options: [block:code] { "codes": [ { "code": "* driversWithInventory: only drivers that have required inventory from the order\n* driversWithAbility: only drivers that have required abilities set in the system\n* ClosestDrivers: pick closest driver", "language": "text" } ] } [/block] * auto_assign_timeout_per_driver: The amount of time to provide each driver before moving on to the next driver. * auto_assign_timeout: The amount of time to try and locate a driver before ending the search. * on_search_fail: The outcome of not locating a driver. Setting this to 'cancel' will auto cancel the order.