Driver's Run Order Grouping Requires that orders have the same/compatible:

1) Order Profile grouping settings

2) Appropriately set for "Allow to group orders form different accounts

3) Reference fields not set to be "UPDATABLE BY THE DRIVER" setting

4) Same Workflow for the stop and same Workflow steps selected

5) No COD setup

6) Require Identity step is not checked

7) Pickup windows for pickups must overlap, windows for deliveries must overlap

/*******************************************************************************************/

 



To identify the grouping key for drivers, you'll need to access our management API. Here's how to do it:


1. In the Tenant API, use the following call: 

GET/api/v1/drivers/{id}/stops

2. Enter the Driver Id:

3. Click on Execute

4. You will be asked to login, use the login you would use in Dispatch Science.


Here is an example of the results:


image



If you look closely at the groupKey of each section, you can see that they are different therefore cannot be grouped:

1_2_True_True_True_False_False_39.1577_-108.7352e07f4df7e884aa47d0dfbde4a47ef2ec47bba163

1_2_True_True_True_False_False_39.1577_-108.73521542418e9e018a877c5dd8925c3ccd270939c2e8


The Group Key is composed of the following:

  • The first value represents the stop type where 0 is a pickup and 1 is a delivery stop 
  • The second value will either be an Order Id or a number
    • OrderId will display if the stop cannot be grouped due to one or more of the following reason:
      • It is not optimized
      • It is on Hold
      • It was set as Grouping None
      • A workflow step for Identity validation was selected
      • Workflow step for COP or COD has been selected (Cash on Pickup or Delivery)
      • At least one of the Reference field is set as required entry by the Driver
    • If Stop is grouped, it will show the Order status 0 (Received or Assigned) or 2 (Picked up)
  • The third value will either be a set of True and False or the Account Id
    • If the Allow Different Accounts is not checked in the Order Profile Grouping, it will show the Account Id
    • If the Allow Different Account is checked, a list of Tue and False will be displayed:
      • Package Validation for the Stop as setup under Account Details-Order Options: True or False
      • For the next 4 True/False, those are setup under Account Details-Order Options:
        • Skip Grouped Orders With No Items Scanned as setup in the Account: True or False
        • Allow Partial Orders To Be Picked Up Or Delivered as setup in the Account: True or False
        • Allow Adding Items On Pickup Or Delivery as setup in the Account: True or False
        • Allow Validation Without Barcode as setup in the Account: True or False
  • The next value will depend on the Grouping type, the following will display:
    • if Grouping is using AddressLine1 or Address Line 1 and AddressLine2, AddressLine1 will be displayed
    • if Grouping is using Address Line 1 and AddressLine2, AddressLine2 will be displayed
    • if Grouping is using Geolocation:  "Latitude_Longitude" will display truncated to 4 digits
  •  The last value represents the Workflow hash.