Add event trigger in Protocol

Nikolay a year ago

Hello,

I am trying to extend a protocol to generate events when a condition is met.

I see an event element in the Position attributes, but it is not recorded in the Database in the tc_events table. And it is not displayed in a component with a bell icon.

What is the correct way to generate an event in the protocol code, save it in the database and make it visible in the component. I guess the first will solve the second

Anton Tananaeva year ago

You should use the alarm attribute instead.