--- alias: user-guide-automation-task-oib-onoibrequest tags: - automation tasks description: "This task processes OIB requests, updating outputs with triggered data and configurable settings" --- # On OIB Request ![equipmentrequest](../core/equipment/images/driverregister-lg.svg) The On OIB Request Task is specific to be used with the OIB Driver. This task receives request 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 request received. ![Screenshot showing the OIB request parameters.](./images/onoibrequest_parameters.png) ## Inputs | Name | Data Type | Description | |----------|-----------|----------------------------------------------------------| | Activate | `Boolean` | Enables or Disables the request listening and triggering | ## Outputs | Name | Data Type | Description | | ------ | --------- | --------- | | timestamp | `DateTime` | The timestamp for when the request is triggered| | requestId | `String` | The request Id for the request | | requestRawData | `Object` | The raw automation request 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 request is activated by the register of an request of that type or if it is only activated by the `activate` input | | Message| `VerifyPrinterMaterialRequest`, `VerifyPrinterToolRequest` | | | 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 the "On OIB Request Settings" page with a checkbox labeled "Auto Activate".](./images/onoibrequest_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 request OIB message, configured in the settings. Every time a message is received (via request) it emits the respective results to its outputs. ## Remarks None.