Skip to content

Instantly share code, notes, and snippets.

@matb33
Created June 6, 2019 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matb33/f4f7e8bce4524aad29bf27f011dc205a to your computer and use it in GitHub Desktop.
Save matb33/f4f7e8bce4524aad29bf27f011dc205a to your computer and use it in GitHub Desktop.
Driver Idle
Driver Idle
ping received -> Evaluating Opportunity
Evaluating Opportunity
accept -> On The Way To Merchant
decline -> Driver Idle
On The Way To Merchant
arrived -> Taking Photo
Taking Photo
# merchant notified that photo was taken, recipient notified that driver is on their way
photo taken -> Out For Delivery
Out For Delivery
deliver -> Inspect Package?
Inspect Package?
# notify merchant of good delivery + trip time (or other details as needed)
good? -> Driver Idle
# notify merchant of bad delivery
bad? -> Returning Package
Returning Package
# notify merchant of return arrival
arrived -> Driver Idle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment