Storing history events

I need to store non-tag related events (operator actions) in the history tables.

Most of the time the code works. The remaining error happens when there is no current history partition to write the event into. I can work out the logic and manually create the table(s), but is there an easier way? Can I call the “storeHistoryEvent(…)” function from python?

No, you would have to create the table manually.