Ok, I see. Well, what are you exactly trying to achieve?
You want to get an event generated (and potentially an alarm) anytime this attribute changes? If yes, I suggest you create a watch of type "boolean" for example, and you set the watch expression to be "fgHaStatsSerial == "whatever". You set the rule to be "evaluate on change". The "threshold" could be, when FALSE, generate an event (it will always be false, so will generate an event every time it's evaluated, but will be evaluated only when it changes... So basically does what you want if I'm not wrong in my start hypothesis).
I'm absolutely not sure it's going to work though, because when I look into the MIB, the value fgHaStatsSerial comes from a table. Which means if you have two member in your cluster, you'll have two lines in the table and both serials from both members. I don't see the point doing that.
If I may suggest another thing: this kind of event should rather be caught by a trap handling. If you still want to do it by polling, I think a better way would be by comparing fgHaStatsMasterSerial with fgHaStatsSerial (which should tell you if this is the master or not).
I think to finish, the best way to monitor the HA state of Fortinet devices is through the fgHaStatsSyncStatus OID (1.3.6.1.4.1.12356.101.13.2.1.1.12). From the MIB, it should give you the status of each of the member of the cluster, and then, you should be able to know which one is master vs slaves.
Hope that helps!