--- alias: user-guide-automation-task-oib-onoibevent tags: - automation tasks description: "This task processes OIB event messages, updating outputs based on received automation data" --- # OIB Event :iot-on-equipment-event-lg:{style="font-size: 100px"} The On OIB Event Task is specific to be used with the OIB Driver. This task receives event OIB messages of a specific type, which can be configured in the Task settings. The Task's static and dynamic outputs are updated after each event received. ![Screenshot showing an event with a title "Bon oib Event" and parameters.](./images/onoibevent_parameters.png) ## Inputs | Name | Data Type | Description | |----------|-----------|--------------------------------------------------------| | Activate | `Boolean` | Enables or Disables the event listening and triggering | ## Outputs | Name | Data Type | Description | |--------------|------------|--------------------------------------------------------| | timestamp | `DateTime` | The timestamp for when the event is triggered | | eventRawData | `Object` | The raw automation event object | | Error | `Error` | Error that occurred during the processing of this task | ## Settings On the *General Tab*, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | |-------------------|--------------------------------------------------------------------------------------------------------------------------------------------|--------|---------|-----------------------------------------------------------------------------------------------------------------------| | Auto Activate | `Boolean` | | true | If the event is activated by the register of an event of that type or if it is only activated by the `activate` input | | Message | `Optimization Result`, `PrinterMaterialVerified`, `PrinterToolVerified`, `PrinterConsumablesUpdated`, `ProcessData`, `StationAvailability` | | | Specific message to process | | Message Full Name | `enum` | | | Name of the complete OIB message with the namespace included, e.g. `OIB.Production.ActivitiesExecuted`. | ![Screenshot showing a settings page with options for Auto Activate, including a boolean toggle and explanation.](./images/onoibevent_settings.png) On the Output Tab, you have the appropriate settings depending on the Message that is processed by the task. ## Behavior When activated, this Task subscribes to a specific event OIB message, configured in the settings. Every time a message is received (via event) it emits the respective results to its outputs. ## Remarks None.