The restart method allows inference to return from a given point to an earlier point in that inference session, clearing all the values captured and assigned between those 2 points.
Not supported by Chat UI.
//This is the function you use when you want to set the position for where restart will return to.
xpertrule.restartPos();
//This is the function you use when you want to restart from a specific point.
xpertrule.restart();
You must ensure that a infinite loop is not created by a restart by providing an exit path through the logic. In Silent mode, this can be achieved by settings a global variable and testing it for the exit criteria.