Log a datapoint in data

Hi.

I was upgrading from ignition 8.1 to 8.3 and read in the Upgrade Manual (link) that should replace some history functions due to deprecation.

I was using system.tag.storeTagHistory(histProv, tagProv, paths, values) to store a single value to history server based on a button script. The tag has "discrete" Deadband Style in Tag Config.

The problem is that when I replaced the function and started to use system.historian.storeDataPoints(paths, values) it automatically changed to querymode = 3 (Deadband Style as Analog in the database):

Is there any way to continue logging a single point of data as discrete via script?