Decisions

As we plot the workflow on the canvas, there are times when we need the robot to make a decision. Within the decision, there is always a question. Unlike the open-ended questions that confound philosophers, the kind of questions that our robots deal with always result in a Yes or No answer.

For example, is the weather hot? If yes, eat some ice-cream. Otherwise (no, it's cold), drink hot chocolate. In the world of programming, a decision stage models an if-else statement.

In a typical workflow diagram, we draw this out using a decision diamond as shown here:

Get Robotic Process Automation with Blue Prism Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.