In the AutoPilot System Environment, a facts' variable can be accessed by writing %facts%. Using this syntax, you can retrieve the value of a fact. Keep in mind that if a fact contains spaces or special characters, the %facts% expression must be enclosed in quotation marks (" ").
If you want to access more detailed information about a fact, the syntax is written as: %f#(token)%. Here, f# refers to the fact being monitored by a sensor, and token is a zero-based token of the fact, delimited by the “\” character.
For example, f0=Expert\TK1\TK2\TK3\TK3\Var.
To access the expert name, the syntax would be: %f0(0)%. Elements are numbered from 0 to N. To access a specific one, include its index number inside the parentheses.
The percent sign (%) must appear twice — once at the start and once at the end of the expression.
For more information about other AutoPilot System Environment variables, refer to Table 4-31 (AutoPilot System Environment Table Variables) in the AutoPilot User Guide.