--- alias: user-guide-automation-task-oib-boardcheckinrequest tags: - automation tasks description: "This task sends a board entry event to the MES system, triggering a result response" --- # Board Check In Request The `Board Check In Request` task sends the CheckIn Event to the MES system when a board is entering the line. This event awaits for the reply **BoardCheckInRequestResult**. ![1562171137862](./images/board_checkin_request_parameters.png) ## Inputs | Name | Data Type | Description | | -------- | --------- | ----------------- | | Activate | `Any` | Activate the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------ | | timestamp | `DateTime` | Timestamp of when the event was received | | messageId | `String` | Message Id from Oib. Might be needed to provide a reply if interlocking is active and if using a command | | line | `String` | Information regarding in which Line the event occurred. Example: 'OIB Training\\Line 1' | | boardId | `String` | Barcode which was scanned in front of the line | | checkInErrorCode | `Integer` | The error identifier, which can be treated as a bit field. Following values could be contained:
`0` CheckIn - Correlation was successful, no errors occurred
`65536` A rear barcode was missing while receiving a front barcode more than once (e.g.the same barcode was scanned twice in front of the line) | | mostCriticalMSDExpireDate | `DateTime` | Most critical expire date of all MSD components verified at ScanTime in Line given as UTC If no MSD material is in the current setup, the maximum date is set (`9999-12-31 12:59:59 PM`) | | recipeName | `String` | The Recipe Name currently produced | | scanTime | `DateTime` | The time the barcode was scanned in front of the line given as UTC | | Success | `Boolean` | Triggered when the task is executed with success | | Error | `Error` | Triggered when the task failed for some reason | ## Settings On the `General` tab, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | | ------------- | --------- | ------ | ------- | ------------------------------------------------------------ | | Auto Activate | `Boolean` | | `true` | On initializing the task, subscribes it to the Gate Keeper Messages. If false, only subscribes on Activate. | ![1562259678207](./images/board_checkin_request_settings.png) ## Behavior This event sends the *CheckIn* Event to the MES system when a board is entering the line. This event is only available for line based traceability with a scanner installed in front of the line. The *CheckIn* event is not available for station based traceability, for this mode please integrate the ASM BoardGateKeeper for locking boards in front of the line. The event returns a structure containing the MES result. ## Remarks None.