Calling function in state machine transition rule?

Perfect! This removes the white execution arrow and solves the issue.