Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Transactions redefined

3,001 views

Published on

Too often we model processes around the myth of Database Transactions, ofter forgetting what a transaction really means in the real world. This talk shows an easy and cheap approach to use together with EventStorming in order to include User Experience into process modelling

Published in: Software
  • SECRET: Men usually out of emotion, not logic. Take advantage of this and get your Ex back today! See how at: ➤➤ http://ow.ly/f23I301xGAo
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Transactions redefined

  1. 1. Transactions Redefined
  2. 2. Transactions Redefined A dive into the wormhole with
  3. 3. Transactions Redefined @ziobrando A dive into the wormhole with
  4. 4. Sending a payment to myself
  5. 5. Let’s see the Events!
  6. 6. Domain Event: Orange, verb at past tense
  7. 7. Domain Event: Orange, verb at past tense Hot Spot: Purple, feel free to express yourself!
  8. 8. I started with Orange but it’s not enough to tell the whole story Purple tells more!
  9. 9. PROTIP: if the software seems unfinished, trust might be impacted. Just sayin’
  10. 10. Looks like I just Can’t keep my mouth shut!
  11. 11. PROTIP: users don’t like navigating three screens in order to see payees in alphabetical order
  12. 12. Protip: some users do copy and paste from invoices where IBAN is written with spaces
  13. 13. Protip: some users do copy and paste from invoices where IBAN is written with spaces PROTIP: humans don’t enjoy removing spaces from IBAN strings
  14. 14. Protip: reminding your users of their age every time they use your service isn’t great UX
  15. 15. Protip: reminding your users of their age every time they use your service isn’t great UX PROTIP: “we were short on budget” doesn’t work well with banks.
  16. 16. PROTIP: I still can’t understand why should I wait that much, but I’d appreciate a deadline anyway
  17. 17. The wormhole
  18. 18. Breaking News! After 3 and a half years since it was promised I might finally have some notification.
  19. 19. PROTIP: please read one article about context switching.
  20. 20. Great job! 13 Events 14 WTF! “We are going to be disrupted by fintech…” (anonymous banker)
  21. 21. How do I feel?
  22. 22. “I am going to find where you live”
  23. 23. “I am going to change your main door lock”
  24. 24. “Every end of month”
  25. 25. When you’re carrying bags How can you talk about “mobile banking” if you can arbitrarily force me to update my credentials?
  26. 26. And it’s raining
  27. 27. …For “security reasons”
  28. 28. About me Having a hard time with BAD software running www.avanscoperta.it Modelling (almost) everything with sticky notes, markers and a paper roll. Calling this stuff
  29. 29. The wormhole
  30. 30. Transactions
  31. 31. We have a few problems
  32. 32. I didn’t say “database transaction”
  33. 33. The whole is not “transactional”
  34. 34. Eventual Consistency?
  35. 35. Eventual Consistency? Yes, but I am more worried about another thing…
  36. 36. The user is part of the transaction
  37. 37. We have a blind spot on this
  38. 38. Let’s STORM!
  39. 39. Our Basic toolkit
  40. 40. Unrolling it… Business processes expose a repeatable structure
  41. 41. Example How do we manage that? Refund Request Received
  42. 42. Typical dev implementation Refund Request Received Refund Policy Issue Refund Paypal Refund Issued Notification Sent to Payee
  43. 43. Can you see the problem?
  44. 44. Simple heuristic What do I have? What do I know? How do I feel?
  45. 45. Simple heuristic Refund Request Received Custo mer
  46. 46. Simple heuristic What do I have? Refund Request Received Custo mer
  47. 47. Simple heuristic What do I have? A ticket Refund Request Received Custo mer
  48. 48. Simple heuristic What do I have? A ticket What do I know? Refund Request Received Custo mer
  49. 49. Simple heuristic What do I have? A ticket What do I know? I won’t be able to use it Refund Request Received Custo mer
  50. 50. Simple heuristic What do I have? A ticket What do I know? I won’t be able to use it How do I feel? Refund Request Received Custo mer
  51. 51. Simple heuristic What do I have? A ticket What do I know? I won’t be able to use it How do I feel? Worried (will I get my money back?) Refund Request Received Custo mer
  52. 52. Simple heuristic What do I have? A ticket What do I know? I won’t be able to use it How do I feel? Worried (will I get my money back?) Sorry (Will it be a problem?) Refund Request Received Custo mer
  53. 53. Simple heuristic Custo mer Notification Sent to Payee Refund Notification Received
  54. 54. Simple heuristic What do I have? Custo mer Notification Sent to Payee Refund Notification Received
  55. 55. Simple heuristic What do I have? A ticket? Custo mer Notification Sent to Payee Refund Notification Received
  56. 56. Simple heuristic What do I have? A ticket? My Money back Custo mer Notification Sent to Payee Refund Notification Received
  57. 57. Simple heuristic What do I have? A ticket? My Money back What do I know? Custo mer Notification Sent to Payee Refund Notification Received
  58. 58. Simple heuristic What do I have? A ticket? My Money back What do I know? I have my money back Custo mer Notification Sent to Payee Refund Notification Received
  59. 59. Simple heuristic What do I have? A ticket? My Money back What do I know? I have my money back How do I feel? Custo mer Notification Sent to Payee Refund Notification Received
  60. 60. Simple heuristic What do I have? A ticket? My Money back What do I know? I have my money back How do I feel? Safe (I have my money) Custo mer Notification Sent to Payee Refund Notification Received
  61. 61. Simple heuristic What do I have? A ticket? My Money back What do I know? I have my money back How do I feel? Safe (I have my money) Worried (Did I insult anyone?) Custo mer Notification Sent to Payee Refund Notification Received
  62. 62. Too “efficient”
  63. 63. Too impersonal
  64. 64. “I am not a UX expert”
  65. 65. “Everybody is the business analyst”
  66. 66. “Everybody is the UX expert”
  67. 67. A platform for self-organization This is what happens when Dan North talks about your stuff :O)
  68. 68. Don’t let roles get in the way
  69. 69. Don’t assume, talk
  70. 70. And if necessary… experiment!
  71. 71. Friendly Refund Policy Refund Request Received Call Customer Phone Refund Chosen Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen
  72. 72. Friendly Refund Policy Refund Request Received Call Customer Phone Refund Chosen Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen TIP: don’t model the conversation, model the outcome.
  73. 73. Let’s Check! Custo mer Call Ended - - - - - Refund Chosen
  74. 74. Let’s Check! What do I have? Custo mer Call Ended - - - - - Refund Chosen
  75. 75. Let’s Check! What do I have? An Agreement Custo mer Call Ended - - - - - Refund Chosen
  76. 76. Let’s Check! What do I have? An Agreement What do I know? Custo mer Call Ended - - - - - Refund Chosen
  77. 77. Let’s Check! What do I have? An Agreement What do I know? I’ll have my money back Custo mer Call Ended - - - - - Refund Chosen
  78. 78. Let’s Check! What do I have? An Agreement What do I know? I’ll have my money back How do I feel? Custo mer Call Ended - - - - - Refund Chosen
  79. 79. Let’s Check! What do I have? An Agreement What do I know? I’ll have my money back How do I feel? Safe (I’m told I’ll have my money) Custo mer Call Ended - - - - - Refund Chosen
  80. 80. Let’s Check! What do I have? An Agreement What do I know? I’ll have my money back How do I feel? Safe (I’m told I’ll have my money) Relieved (they said no problem) Custo mer Call Ended - - - - - Refund Chosen
  81. 81. For us, instead Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  82. 82. For us, instead What do I have? Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  83. 83. For us, instead What do I have? An Agreement Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  84. 84. For us, instead What do I have? An Agreement a duty Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  85. 85. For us, instead What do I have? An Agreement a duty What do I know? Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  86. 86. For us, instead What do I have? An Agreement a duty What do I know? The decision & the sales situation Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  87. 87. For us, instead What do I have? An Agreement a duty What do I know? The decision & the sales situation How do I feel? Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  88. 88. For us, instead What do I have? An Agreement a duty What do I know? The decision & the sales situation How do I feel? depends on sales ;-) Call Ended - - - - - Refund Chosen Organi zer TIP: you can have many perspectives involved.
  89. 89. Can we help? Refund Request Received Call Customer Phone Refund Chosen Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen - Price paid - Sales stats - Training Lower Bound - Days Left
  90. 90. Can we help? Refund Request Received Call Customer Phone Refund Chosen Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen - Price paid - Sales stats - Training Lower Bound - Days Left TIP: The read model is a decision support tool. Not an exposure of your database
  91. 91. …of course… Refund Chosen Issue Refund Paypal Refund Issued Notification Sent to Payee Refund Policy Organi zer
  92. 92. So, for the user… Custo mer Notification Sent to Payee
  93. 93. So, for the user… What do I have?Custo mer Notification Sent to Payee
  94. 94. So, for the user… What do I have? My Money back Custo mer Notification Sent to Payee
  95. 95. So, for the user… What do I have? My Money back What do I know? Custo mer Notification Sent to Payee
  96. 96. So, for the user… What do I have? My Money back What do I know? I have my money back & No Problem Custo mer Notification Sent to Payee
  97. 97. So, for the user… What do I have? My Money back What do I know? I have my money back & No Problem How do I feel? Custo mer Notification Sent to Payee
  98. 98. So, for the user… What do I have? My Money back What do I know? I have my money back & No Problem How do I feel? Safe (I have my money) Custo mer Notification Sent to Payee
  99. 99. So, for the user… What do I have? My Money back What do I know? I have my money back & No Problem How do I feel? Safe (I have my money) Grateful / Relieved Custo mer Notification Sent to Payee
  100. 100. A lot better
  101. 101. And also …the seat! Refund Chosen Registration Policy Cancel Ticket Ticketing System Ticket cancelled Notification Sent
  102. 102. We still have a problem
  103. 103. No automation (yet) Refund Chosen Issue Refund Paypal Refund Issued Notification Sent to Payee Refund Policy Organi zer Humans are not acting instantaneously…
  104. 104. Implicit deadlines Refund Request Received Call Customer Phone Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen - Price paid - Sales stats - Training Lower Bound - Days Left (Implicit) Deadline Refund Chosen
  105. 105. Implicit deadlines Refund Request Received Call Customer Phone Coupon Chosen Human Refund Policy Organi zer Other Idea Chosen - Price paid - Sales stats - Training Lower Bound - Days Left (Implicit) Deadline Refund Chosen TIP: Implicit deadlines can be modelled as Events too
  106. 106. (Implicit) Deadline Refund Issued
  107. 107. (Implicit) Deadline Refund IssuedWhat do I have?
  108. 108. (Implicit) Deadline Refund IssuedWhat do I have? A promise
  109. 109. (Implicit) Deadline Refund IssuedWhat do I have? A promise What do I know?
  110. 110. (Implicit) Deadline Refund IssuedWhat do I have? A promise What do I know? I haven’t been refunded
  111. 111. (Implicit) Deadline Refund IssuedWhat do I have? A promise What do I know? I haven’t been refunded How do I feel?
  112. 112. (Implicit) Deadline Refund IssuedWhat do I have? A promise What do I know? I haven’t been refunded How do I feel? Kinda worried, Should I remind them?
  113. 113. Not good
  114. 114. With normal banking… Enter Payment Refund Policy Organi zer (Implicit) Deadline Refund Chosen Banking System Payment Entered
  115. 115. With normal banking… Enter Payment Refund Policy Organi zer (Implicit) Deadline Refund Chosen Banking System Payment Entered WORMHOLE
  116. 116. Refund Chosen (Implicit) Deadline past
  117. 117. Refund Chosen (Implicit) Deadline past What do I have?
  118. 118. Refund Chosen (Implicit) Deadline past What do I have? A promise
  119. 119. Refund Chosen (Implicit) Deadline past What do I have? A promise What do I know?
  120. 120. Refund Chosen (Implicit) Deadline past What do I have? A promise What do I know? I haven’t been refunded
  121. 121. Refund Chosen (Implicit) Deadline past What do I have? A promise What do I know? I haven’t been refunded How do I feel?
  122. 122. Refund Chosen (Implicit) Deadline past What do I have? A promise What do I know? I haven’t been refunded How do I feel? Kinda worried, Should I remind them?
  123. 123. But then… Refund Chosen (Implicit) Deadline past Logged Into Banking System
  124. 124. But then… Refund Chosen (Implicit) Deadline past What do I have? Logged Into Banking System
  125. 125. But then… Refund Chosen (Implicit) Deadline past What do I have? An unfulfilled promise Logged Into Banking System
  126. 126. But then… Refund Chosen (Implicit) Deadline past What do I have? An unfulfilled promise What do I know? Logged Into Banking System
  127. 127. But then… Refund Chosen (Implicit) Deadline past What do I have? An unfulfilled promise What do I know? I haven’t been refunded Logged Into Banking System
  128. 128. But then… Refund Chosen (Implicit) Deadline past What do I have? An unfulfilled promise What do I know? I haven’t been refunded How do I feel? Logged Into Banking System
  129. 129. But then… Refund Chosen (Implicit) Deadline past What do I have? An unfulfilled promise What do I know? I haven’t been refunded How do I feel? Logged Into Banking System
  130. 130. OOOPS! We aren’t in control of the whole Flow…
  131. 131. But now we have an easy way to play with that!
  132. 132. GROUNDBREAKING!!!
  133. 133. It’s not about inventing new things
  134. 134. It’s more about removing impediments
  135. 135. Roles,
  136. 136. Roles, Processes,
  137. 137. Roles, Processes, Contracts,
  138. 138. Roles, Processes, Contracts, …
  139. 139. Roles, Processes, Contracts, … Space limitation
  140. 140. Conclusions
  141. 141. in the large scale…
  142. 142. There is no consistency
  143. 143. But a tension to reconciliation
  144. 144. “Transactions” are processes
  145. 145. And some cannot be rolled back
  146. 146. Make the Global state visible
  147. 147. Users are part of the state
  148. 148. Intermediate Steps matter Mood, implicit deadlines, expectations
  149. 149. Mood and feelings are part of the Global state
  150. 150. Enables cross- perspective conversation Software design, User Experience, Business Modelling, Lean etc.
  151. 151. is my pizza: You can add your toppings
  152. 152. is my pizza: You can add your toppings With the notable exception of database tables and pineapple
  153. 153. Menu BIG PICTURE PROCESS DESIGN AGGREGATE DISCOVERY Service Design Value-Stream Mapping Retrospectives Organization Design … add yours!
  154. 154. Can lead you to unexpected places apparently, you cannot choose what your problem is
  155. 155. Helps you solve the problem as a team
  156. 156. Helps you solve the problem as a real team It’s about contributions and insights, not roles
  157. 157. We are problem solvers, Not problem pickers
  158. 158. Thank you!
  159. 159. References • www.eventstorming.com • EventStormers on Google+ • https://plus.google.com/u/0/communities/ 113258571348605620818 • LeanPub book in progress: • http://leanpub.com/introducing_eventstorming • Blog: • https://medium.com/@ziobrando • http://ziobrando.blogspot.com • Twitter: @ziobrando • Trainings & Workshop facilitation: • http://www.avanscoperta.it

×