This is an image of the Component page for the properties inspector for the routeSelection state. This page has the Switch Determined By dialog. It has the following options, which are located beneath the Create menu: Variable (not selected) and Expression (selected). The field for the Expression option has an Apache FreeMarker expression to determine the switching logic based on the Confirmation entity.